Class: Sketchup::ConstructionPoint

Inherits:
Drawingelement show all
Defined in:
lib/constructionpoint.rb

Overview

Since:

  • 6.0

Instance Method Summary (collapse)

Methods inherited from Drawingelement

#bounds, #casts_shadows=, #casts_shadows?, #erase!, #hidden=, #hidden?, #layer, #layer=, #material, #material=, #receives_shadows=, #receives_shadows?, #visible=, #visible?

Methods inherited from Entity

#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #model, #parent, #remove_observer, #set_attribute, #to_s, #typename, #valid?

Instance Method Details

- (Point3d) position

Examples:

pt = Sketchup.active_model.entities.add_cpoint([1, 1, 0])
pos = pt.position

Since:

  • 6.0



16
17
18
# File 'lib/constructionpoint.rb', line 16

def position
    @position
end