Diagrams
User Guide
Diagrams
:
Working with Diagrams
:
P&ID Grid Definition
: Using the P&ID Grid
Using the P&ID Grid
Each time a symbol is dropped on to a diagram sheet or the symbol is moved on the sheet, the actual PinX, PinY symbol position is retrieved via the Visio application and these values are stored respectively in the DIAGXPOS and DIAGYPOS DB element attributes.
It is mostly not interesting to know this value but rather the corresponding gridding position along the X/Y axes. A second pair of attributes is available for that, they are GRIDXPOS and GRIDYPOS, which are pseudo attributes. That means the value is never stored on the DB element, but is dynamically converted based on the DIAGXPOS/DIAGYPOS values and the gridding defined configuration.
Thus, if he gridding definition should be changed during the project life cycle, any simple query would dynamically reflect the changes. Displaying these values graphically for a symbol can be done with the following formula:
Note:
In some cases it will be required to call the
Refresh
command to see the proper text.
Alternatively you may want to display the gridding position of the connector you are connected to.
In that case, use the following formula:
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.