DRAW Reference Manual
Draw the Design
:
Query Commands
: Query the Nearest Side to an Item
Query the Nearest Side to an Item
You can query the nearest side of a View to a given P-point, proportional distance along a P-line, or origin of a Design element in the current View using the command:
Q VSIDE [ROTated] OF
3d_point_definition
For example:
Q VSIDE OF /VESS-99
Q VSIDE OF PPO2 OF /VALVE-100
Q VSIDE OF PPLINE TOS OF /SCTN-101 START
Q VSIDE OF PPLINE MEML OF /SCTN-101 PROP 0.5
The ROTATED option allows the rotation (for example, the VIEW’s RCOD attribute) to be considered if required.
The response is the nearest and next-nearest sides, and also whether the item is inside or outside the View. For example, Point 1 is LEFT UP OUTSIDE.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.