Method: Autocad::Drawing#selection_sets

Defined in:
lib/autocad/drawing.rb

#selection_sets {|SelectionSetAdapter| ... } ⇒ Enumerator<SelectionSetAdapter>

Get all selection sets in the drawing

Examples:

Find a specific selection set

walls_ss = drawing.selection_sets.find { |ss| ss.name == "WALLS" }

Yields:



824
825
826
827
# File 'lib/autocad/drawing.rb', line 824

def selection_sets
  return to_enum(__callee__) unless block_given?
  ole_selection_sets.each { |o| yield app.wrap(o) }
end