Software Customisation
Reference Manual
Summary of Objects, Members and Methods
:
Object Type Details
: Section Plane Manager
Section Plane Manager
The Graphical Section Plane Manager object provides an interface for interrogating and modifying Section Planes in the 3D View in Draw. It maintains a list of all PML SectionPlane objects that have been added to the 3D View.
Set-up Methods
Method
Result
Purpose
SectionPlaneManager ()
constructor
Creates the Section Plane Manager Object
Display Methods
Name
Result
Purpose
initialise (BOOLEAN)
No Result
True - Initialises Section plane mode.
False - Uninitialise Section Plane mode.
add (DBREF)
No Result
If DBREF is a view then Add all Section Planes from a 2D View (Draw VIEW element) to the 3D View.
If DBREF is a PLLB Add all Section Planes from a 2D Library to the 3D View. This includes all elements of the following types:
•
SPLA, PPLA, FPLA
If DBREF is a SPLA, PPLA, or FPLA, then it will be added to the 3D View.
A SECTIONPLANE object for each section plane added will be created and added to the list.
add (SECTIONPLANE)
No Result
Adds the SECTIONPLANE object to the 3D View.
add (STRING)
No Result
Creates a SECTIONPLANE object from the element with the given name and adds it to the 3D view.
remove (DBREF)
No Result
If DBREF is a SPLA, PPLA, or FPLA, then it will be removed from the 3D View. If the corresponding SECTIONPLANE object is in the list, it will be removed..
remove (SECTIONPLANE)
No Result
Removes the SECTIONPLANE object from the 3D View and the list.
clear ()
No Result
Clears all Section Planes from the 3D View .
highlight (DBREF)
No Result
Temporarily highlights the Section Plane with DBREF.
redraw (DBREF)
No Result
Redraw all planes in the 3D View. A plane is infinite in two directions, but is drawn with it's infinite edges clipped to the edges of the current drawlist. Therefore, if the plane is moved, or if the drawlist changes, the plane may need to be redrawn.
DBREF is the reference of the VIEW element.
clip (BOOLEAN)
No Result
Clip/Unclip the 3D model (within the 3D View) with all the planes displayed in the 3D View. SPLA items will not be clipped.
show (BOOLEAN)
No Result
Show/hide all planes in the 3D View.
showClipping (BOOLEAN)
No Result
Show/hide the side of each section plane that will be clipped
colour (REAL)
No Result
Set the colour of All Section Planes (Real must be a colour.code())
translucency (REAL)
No Result
Set the transparency of All Section Planes.
createPoints (STRING1,STRING2, DIRECTION)
No Result
Creates an SPLA with the given name STRING1 in the PLLB named STRING2, extruded in the given DIRECTION.
endCreatePoints
No Result
Finish collecting points for the SPLA
Query Methods
Name
Result
Purpose
query ()
ARRAY of SECTIONPLANEs
Get all Section Planes in the 3D view
querySelected ()
DBREF
Return the DBREF of the selected Section Plane.
Create Methods
Name
Result
Purpose
createSpla (name, library name, first point, second point, extrusion direction)
SECTIONPLANE
Creates a new SPLA element with a specified name, which resides in a specific library. The first and second points represent the locations of the first two WPOS elements. (These will be created automatically by the system with default names). The extrusion direction must also be set. The new SPLA will be drawn in the 3D view.
createFpla (name, library name, point, normal direction)
SECTIONPLANE.
Creates a new FPLA element with a specified name, which resides in a specific library. The position and normal directions must be set. The new FPLA will be drawn in the 3D view.
createPpla (name, library name, point)
SECTIONPLANE.
Creates a new PPLA element with a specified name , which resides in a specific library. The position must be set. The new PPLA will be drawn in the 3D view.
Table 2: 110.
Selection Plane Manager Object Methods
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.