Class: Sketchup::SectionPlane
| Relationships | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
           Drawingelement,Entity | |
| Instance Chain: 
          self,
           Drawingelement,Entity | |
| Inherits: | Sketchup::Drawingelement 
 | 
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 Attribute Summary
- 
    
      #active?  ⇒ Boolean 
    
    readonly
    The active? method indicates whether the section plane is active or not. 
- 
    
      #name  ⇒ String 
    
    rw
    The #name method is used to retrieve the name of the section plane. 
- 
    
      #name=(name)  
    
    rw
    The #name= method is used to set the name of a section plane. 
- 
    
      #symbol  ⇒ String 
    
    rw
    The #symbol method is used to retrieve the symbol of the section plane. 
- 
    
      #symbol=(symbol)  
    
    rw
    The #symbol= method is used to set the symbol of a section plane. 
Drawingelement - Inherited
| #casts_shadows= | The casts_shadows= method is used to set the  | 
| #casts_shadows? | The casts_shadows? method is used to determine if the  | 
| #hidden= | The hidden= method is used to set the hidden status for an element. | 
| #hidden? | The hidden? method is used to determine if the element is hidden. | 
| #layer | The layer method is used to retrieve the  | 
| #layer= | The layer= method is used to set the layer for the drawing element. | 
| #material | The material method is used to retrieve the material for the drawing element. | 
| #material= | The material= method is used to set the material for the drawing element. | 
| #receives_shadows= | The receive_shadows= method is used to set the  | 
| #receives_shadows? | The receive_shadows? method is used to determine if the  | 
| #visible= | The visible= method is used to set the visible status for an element. | 
| #visible? | The visible? method is used to get the visible status for an element. | 
Entity - Inherited
Instance Method Summary
- 
    
      #activate  ⇒ Object 
    
    The activate method is used to make the section plane the active one of its parent component/group. 
- 
    
      #get_plane  ⇒ Object 
    
    The get_plane method is used to retrieve the plane that the section plane is on. 
- 
    
      #set_plane(plane)  ⇒ Object 
    
    The set_plane method is used to set the plane that the section plane is on. 
Drawingelement - Inherited
| #bounds | The  | 
| #erase! | The  | 
Entity - Inherited
| #add_observer | The add_observer method is used to add an observer to the current object. | 
| #attribute_dictionaries | The attribute_dictionaries method is used to retrieve the  | 
| #attribute_dictionary | The attribute_dictionary method is used to retrieve an attribute dictionary with a given name that is attached to an  | 
| #delete_attribute | The  | 
| #entityID | The entityID method is used to retrieve a unique ID assigned to an entity. | 
| #get_attribute | The  | 
| #inspect | The  | 
| #model | The model method is used to retrieve the model for the entity. | 
| #parent | The parent method is used to retrieve the parent of the entity. | 
| #persistent_id | The  | 
| #remove_observer | The remove_observer method is used to remove an observer from the current object. | 
| #set_attribute | The set attribute is used to set the value of an attribute in an attribute dictionary with the given name. | 
| #to_s | The  | 
| #typename | The typename method retrieves the type of the entity, which will be a string such as “Face”, “Edge”, or “Group”. | 
Instance Attribute Details
    #active?  ⇒ Boolean  (readonly)
  
The active? method indicates whether the section plane is active or not.
#name ⇒ String (rw)
The #name method is used to retrieve the name of the section plane.
#name=(name) (rw)
The #name= method is used to set the name of a section plane.
#symbol ⇒ String (rw)
The #symbol method is used to retrieve the symbol of the section plane.
#symbol=(symbol) (rw)
The symbol must be three characters or less.
The #symbol= method is used to set the symbol of a section plane.
Instance Method Details
    #activate  ⇒ Object 
  
The activate method is used to make the section plane the active one of its parent component/group.
    #get_plane  ⇒ Object 
  
The get_plane method is used to retrieve the plane that the section plane is on.
    #set_plane(plane)  ⇒ Object 
  
The set_plane method is used to set the plane that the section plane is on.