Grid Position Attributes
- Last UpdatedNov 28, 2022
- 1 minute read
Items that can be localized have four attributes as shown below:
|
Attribute Name |
Type |
Description |
|
DIAGXPOS |
Real |
The X position of the symbol on Visio drawing stored in mm. The default value is 0.0001. This means that the position is not set. (For old items it will be 0). |
|
DIAGYPOS |
Real |
The Y position of the symbol on Visio drawing stored in mm. The default value is 0.0001. This means that the position is not set. (For old items it will be 0). |
|
GRIDXPOS |
String |
The X position of the symbol according to the gridding definition. This is the pseudo attribute. The value is evaluated each time it is queried. It will retrieve the name of the tag from the gridding definition where DIAGXPOS fit, if possible. |
|
GRIDYPOS |
String |
The Y position of the symbol according to the gridding definition. This is the pseudo attribute. The value is evaluated each time it is queried. It will retrieve the name of the tag from the gridding definition where DIAGYPOS fit, if possible. |
Each time the user wants to move an item on the drawing or create a new one, the DIAGXPOS and DIAGYPOS will be updated according to the Visio drawing position.
Be aware that if DIAGXPOS and DIAGYPOS will be out of limits of the grid definition file then an appropriate message will be returned by GRIDXPOS/GRIDYPOS pseudo attributes.
Note:
The four attributes: DIAGXPOS, DIAGYPOS, GRIDXPOS and GRIDYPOS are defined as "Hidden"