DRAW Reference Manual
Using the Cursor with DRAW Commands
: Picking Structural Elements and P-lines
Picking Structural Elements and P-lines
A p-line (or member line) may be identified by cursor hit using the commands:
IDPL @
- select and identify p-line
IDPE/ND @
- select and identify p-line start or end
This will return syntax to the command line in the following form:
PPLINE
word
OF
element_identifier
The
IDPE/ND
command will generate text such as:
Pline RTOS of /SCTN-98 start
Pline MEML of /SCTN-99 end
depending how far along the p-line the cursor hit was made. This may be used, for example, 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 @
will position a GLAB on the identified p-line at either its start or end point.
Q IDPE @
will return the ENU position of the start or end point of the identified p-line.
This syntax is used for querying and to identify a p-line for direction (note that it may
not
appear at the
beginning
of a command line).
The command
IDPDistance @
will return 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 could 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 will be used.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.