Query View Contents
- Last UpdatedApr 28, 2023
- 2 minute read
You can query which Design elements are visible in a specified Draw View using the Q VSCAN command. For example:
Q VSCAN <SIGNIFICANT | design_id> <IN view_id> <FOR selection_criteria>
The IN view_id can be omitted if your current database position is at or below a View.
You can:
-
Request a list of all significant elements that are visible in a View.
Q VSCAN SIGNIFicant IN view_id
-
For example:
Q VSCAN SIGNIF IN /VIEW-01
-
-
Specify a significant design element and request a list of all its primitives that are visible in a View.
Q VSCAN design_id IN view_id
-
For example:
Q VSCAN /PIPE100-B-1-B1
-
-
Specify selection criteria to determine matching design elements visible in a View.
Q VSCAN IN view_id FOR selection_criteria
-
For example:
Q VSCAN FOR ALL (VALVE VTWAY VFWAY) WITH (ABOR GE 50)
Q VSCAN FOR SCTN EXCL WITHIN E 800mm N 750mm U 638mm To E 900mm N 850mm U 738mm
-
In the examples, design_id must refer to a Design significant element, which is EQUI, SUBE, STRU, SUBS, FRMW, SBFR, TMPL, BRAN, or HANG.
Note: It is possible but not recommended to enter the syntax:
Q VSCAN FOR SCTN WITHIN <volume> IN CE
In this case the "IN forms part of the generic selection criteria syntax (equivalent to "WRT CE") and is unlikely to be what is intended. The results may be very different from the probable intent of syntax, for example:
Q VSCAN IN CE FOR SCTN WITHIN <volume>
Draw determines whether design items are visible by scanning the data in the picture, not by scanning the IDList. Thus elements hidden by the hidden-line-removal process are not found. The command cannot determine how much of the element is visible.
Note: A significant Design element is not found in a View if it only owns other significant elements. It must own visible primitives. The EQUI, STRU and FRMW elements are affected; they are not found unless they own visible primitives.