Class: Autocad::ExternalReference
- Inherits:
-
BlockReference
- Object
- Element
- BlockReference
- Autocad::ExternalReference
- Defined in:
- lib/autocad/block_reference.rb
Instance Attribute Summary
Attributes inherited from Element
#acad_type, #app, #ole_obj, #original
Instance Method Summary collapse
- #external? ⇒ Boolean
- #ins_units ⇒ Object
- #ins_units_factor ⇒ Object
- #inspect ⇒ Object
- #path ⇒ Object
Methods inherited from BlockReference
#attribute_hash, #attributes, #block_reference?, #dynamic?, #each, #explode, #get_block_extents, #has_attributes?, #insertion_point, #layout?, #name, #scale_by, #x_effective_scale_factor, #x_scale_factor, #y_effective_scale_factor, #y_scale_factor, #z_effective_scale_factor, #z_scale_factor
Methods inherited from Element
#[], #app_ole_obj, #clone, convert_item, #delete, #do_update, #each_complex, #get_property_handler, #in_cell?, #initialize, #method_missing, #move, #move_ole, #move_x, #move_y, #ole_cell, ole_object?, #property_handler, #read_ole, #redraw, #update, #updated?, #write_ole
Methods included from ElementTrait
#autocad_type, #block_reference?, #bounds, #cell?, #def, #drawing, #explode, #graphical?, #has_tags?, #highlight, #id_from_record, #line?, #model, #parent, #pviewport?, #select, #text?, #to_ole, #visible?
Constructor Details
This class inherits a constructor from Autocad::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Autocad::Element
Instance Method Details
#external? ⇒ Boolean
112 113 114 |
# File 'lib/autocad/block_reference.rb', line 112 def external? true end |
#ins_units ⇒ Object
121 122 123 |
# File 'lib/autocad/block_reference.rb', line 121 def ins_units @ole_obj.InsUnits end |
#ins_units_factor ⇒ Object
125 126 127 |
# File 'lib/autocad/block_reference.rb', line 125 def ins_units_factor @ole_obj.InsUnitsFactor end |
#inspect ⇒ Object
129 130 131 |
# File 'lib/autocad/block_reference.rb', line 129 def inspect "<ExternalReference: name: #{name}>" end |
#path ⇒ Object
117 118 119 |
# File 'lib/autocad/block_reference.rb', line 117 def path Pathname(ole_obj.Path) end |