DRAW Reference Manual
Use the Cursor with DRAW Commands
: Pick Structural Elements and P-lines
Pick Structural Elements and P-lines
A p-line (or member line) can be identified by cursor hit using the commands:
IDPL @
- select and identify p-line
IDPE/ND @
- select and identify p-line start or end
The return syntax to the command line is:
PPLINE
word
OF
element_identifier
The
IDPE/ND
command generates text, for example,:
Pline RTOS of /SCTN-98 start
Pline MEML of /SCTN-99 end
depending how far along the p-line the cursor hit was made. For example, this can be used to position annotation at the start or end points of p-lines or to obtain the 3D coordinates of these points. For example:
NEW GLAB ON IDPE @
positions a GLAB on the identified p-line at either its start or end point.
Q IDPE @
returns the ENU position of the start or end point of the identified p-line.
The syntax is used for querying and to identify a p-line for direction (note that it may
not
display at the
beginning
of a command line).
The command
IDPDistance @
returns the proportional distance along the identified p-line. For example a GLAB can be positioned by either of:
ON IDPL @
ON IDPD @
Examples of text returned by these commands can be (respectively):
ON PPLINE BOS OF /SCTN.PN1_PN5
ON PPLINE BOS OF /SCTN.PN1_PN5 PROP 0.65
In the former case the default value for proportional distance is used.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.