Method: Autocad::Drawing#get_variables
- Defined in:
- lib/autocad/drawing.rb
#get_variables(*atts) ⇒ Array<Object>
Get the values of multiple system variables
705 706 707 708 709 710 711 712 713 714 |
# File 'lib/autocad/drawing.rb', line 705 def get_variables(*atts) return [] if atts.empty? if atts.first.class == Array atts = atts.first end atts.each_with_object([]) do |k, a| a << ole_obj.GetVariable(k) a end end |