POSFOR (Positional Code Word Format) Attribute
- Last UpdatedDec 09, 2025
- 1 minute read
This attribute specifies the output format for the positional codewords used by elements owned by the layer (LAYE).
The following values are defined for the attribute:
|
Value |
Test equivalent (query system) |
Description |
|---|---|---|
|
0 |
ENU |
Default ENU output style (for example, ‘E 1000’, ‘S 2000’) |
|
1 |
XYZ |
The XYZ output style (for example, ‘X=1000’, ‘Y=-2000’) |
|
2 |
SHIP |
Ship reference coordinate format (for example, ‘X=FR20+200’, ‘Y=LP-5’, ‘Z=DECK02+1500’) |
|
3 |
NUM/BERS |
Numerical output style (for example, ‘1000’, ‘-2000’), as if the ‘+’ suffix was present in the code word |
If the project does not define the FR or LP positions along one or more of the axes, the request for a corresponding coordinate expressed in the Ship Reference System will return instead the coordinate expressed as a pure number in millimeters, as if the XYZ expansion had been requested (for example, X=FR40, Y=LP4, Z=5000).
The value of the attribute will cascade down from the DEPT or LIBY element to their child elements when they are created.
If the ‘+’ modifier follows the position code word (for example, #POS+), it overrides the expansion format setting defined by the LAYE, requesting a purely numerical output (NUMBERS format). Other than using the ‘+’ suffix, there is no other way to override the expansion format individually for a given code word. However, a separate LAYE with different settings can be created, and the element using intelligent text placed there.
|
Example: |
|---|
|
POSFOR SHIP |
|
sets the output format for positional codewords to ship reference coordinate format. |