class SectionPlane |
Parent: DrawingElement |
|
| |
Sample Code: |
|
Instance Methods |
get_plane |
The get_plane method is used to retrieve the plane that the section plane is on. |
Syntax: |
plane = sectionplane.getplane |
Arguments: |
|
Return Value: |
plane = a plane. See the Geom interface for further information on planes. |
Comments: |
|
Example: |
model
= Sketchup.active_model |
set_plane |
The set_plane method is used to set the plane that the section plane is on. |
Syntax: |
sectionplane = sectionplane.set_plane plane |
Arguments: |
plane - a plane. See the Geom interface for further information on planes. |
Return Value: |
sectionplane - the SectionPlane object. |
Comments: |
|
Example: |
newplane
= [Geom::Point3d.new(-10, 0 ,0), Geom::Vector3d.new(1,0,0)] |