DRAW Administrator Guide
Area Based Automatic Drawing Production
:
User Tasks
: APSGRIDS
APSGRIDS
A view task that uses the supplied PML function apsgrids.pmlfnc.
Grid Lines can be modelled using the GRIDSYTEM and this task is designed to annotate those visible within the relevant view. Refer to
Model Reference Manual
for further information.
For example, the N-S Grid Line marked as '7' is defined in the 3D model as:
GRIDAX GRDAXE X
GRIDLN GRDOFF 16640mm GRDID 7
The GRIDLN elements are drawn because they have been added to the draw list and have a Representation Rule of their own;
For example, the Equipment Discipline /equipment_discipline has the following added;
ALL GRIDSYSTEM WITH ( MAT ( ATTRIB DESC , 'ISOADP' ) EQ 0 )
The reason for testing the attribute Description is to make sure that a specific grid system is added and not all available grid systems.
The Representation used for the grid system:
STYLE /Aba/Grid-Style n CLStyle Chained CLColour Blue
RRUL Use /Aba/Grid-Style for ALL GRIDSYSTEM
When the Task is executed, the grid lines that display within the view are determined using the following rules;
GRIDLN WITH GRDAXE OF OWNER EQ 'X'
GRIDLN WITH GRDAXE OF OWNER EQ 'Y'
GRIDLN WITH GRDAXE OF OWNER EQ 'Z'
Labels can be directly associated with grid line. Refer to
Dimensioning to GRIDLN Elements
and
Labelling GRIDLN Elements
for further information.
Each label is associated with a found GRIDLN, uses either NPPT 1 or 2 for positioning at the relevant end and references an SYTM, which extracts the value from the attribute GRDID.
For an example, SYTM /Aba/APS/Grids, which contains a single TEXTP element with the hash code #GRDID, the result being '7' in this case;
The labels are created in a unique View LAYE, which is named as per the View plus a suffix /LeftGridLines or /TopGridLines depending on which side of the View the label appears.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.