SAMGRIDS
- Last UpdatedNov 10, 2025
- 2 minute read
This view task is supplied as TASK /Aba/view_task2 with a matching PML function samgrids.pmlfnc.
The task is designed to create labels by reading design SCTN elements modelled to represent each gridline with the description attribute holding the gridline reference.

The SCTN in the example above;
|
Description |
‘T-900’ |
|
Posstart |
E 320000mm N 429500mm U 518000mm |
|
Posend |
E 320000mm N 470500mm U 518000mm |
When the task is activated, the design SCTN elements used to represent the gridlines are determined and located by reading the keyplan discipline drawlist, in other words /keyplan_discipline.
This IDLI has the attribute function set to the word 'keyplan' and uses a rule to point to the set of SCTN elements.
Example
ALL ZONE WITH ( MAT ( ATTRIB NAME , '/UTIL-GRID' ) GT 0 )
If you want to reference a different set of SCTN elements, change this rule by selecting Modify then Area ADP Library and then Classification from the main menu and selecting keyplan from the classification list.
The SCTN elements found are tested against the relevant area limits and any intersections determine the need for a gridline label. This label references an SYTM which extracts the description and the position.
For an example see SYTM /Aba/grids/NS which holds two intelligent text elements using the hash codes #DESC and #POSSE.
The labels are created in a unique LAYE element which is named
as per the view plus a suffix /Grids.