Class: Sketchup::SectionPlane
- Inherits:
-
Drawingelement
- Object
- Entity
- Drawingelement
- Sketchup::SectionPlane
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb
Overview
The SectionPlane class represents a section plane in a SketchUp model. Note that prior to SketchUp 2014 there was no way to create a SectionPlane object using Ruby. For older versions of SketchUp, you must manually create a section plane with the Section Plane Tool in SketchUp and then query the entities array to find the SectionPlane object.
Instance Method Summary collapse
-
#activate ⇒ Object
The activate method is used to make the section plane the active one of its parent component/group.
-
#active? ⇒ Boolean
The active? method indicates whether the section plane is active or not.
-
#get_plane ⇒ Object
The get_plane method is used to retrieve the plane that the section plane is on.
-
#name ⇒ String
The #name method is used to retrieve the name of the section plane.
-
#name=(name) ⇒ Object
The #name= method is used to set the name of a section plane.
-
#set_plane(plane) ⇒ Object
The set_plane method is used to set the plane that the section plane is on.
-
#symbol ⇒ String
The #symbol method is used to retrieve the symbol of the section plane.
-
#symbol=(symbol) ⇒ Object
The #symbol= method is used to set the symbol of a section plane.
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, #inspect, #model, #parent, #persistent_id, #remove_observer, #set_attribute, #to_s, #typename, #valid?
Instance Method Details
#activate ⇒ Object
The activate method is used to make the section plane the active one of its parent component/group.
26 27 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 26 def activate end |
#active? ⇒ Boolean
The active? method indicates whether the section plane is active or not.
42 43 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 42 def active? end |
#get_plane ⇒ Object
The get_plane method is used to retrieve the plane that the section plane is on.
64 65 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 64 def get_plane end |
#name ⇒ String
The #name method is used to retrieve the name of the section plane.
79 80 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 79 def name end |
#name=(name) ⇒ Object
The #name= method is used to set the name of a section plane.
95 96 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 95 def name=(name) end |
#set_plane(plane) ⇒ Object
The set_plane method is used to set the plane that the section plane is on.
114 115 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 114 def set_plane(plane) end |
#symbol ⇒ String
The #symbol method is used to retrieve the symbol of the section plane.
129 130 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 129 def symbol end |
#symbol=(symbol) ⇒ Object
The symbol must be three characters or less.
The #symbol= method is used to set the symbol of a section plane.
147 148 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb', line 147 def symbol=(symbol) end |