Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

Grid Tasks

  • Last UpdatedAug 13, 2025
  • 1 minute read

By default, reference grid annotations are generated when a REFGRID is added to the drawlist. Refer to Reference Grid Annotations for further information. To remove the functionality, you can modify the view visual style to prevent the system from automatically generating the annotations and use grids tasks instead. There are two example PML functions supplied, apsgrids.pmlfnc and apsgriddimn.pmlfnc that can used to generate grid labels and dimensions.

To access the apsgrids.pmlfnc and apsgriddimn.pmlfnc functionality a view task must be created that calls a PML function to manipulate either the view parameters to update the gridline annotation or manipulate the generated annotation.

If you use the automatic system annotation functionality but wish to modify the generated labels and dimensions, there are two options:

  1. Create a new visual style, set the grid annotation parameters and apply this to the ABA drawing template. The automatic grid annotation is created using these settings.

  2. Modify automatic grid annotation after it has been generated, you can use a TASK in the normal way.

For example;

NEW TASK /equipment_2/S1/V1/VTask3

SPPURPOSE ABAV

FUNCTION 'Modify View Grid Parameters'

PMLFUNCTION 'MODIFYVIEWGRIDS'

define function !!modifyViewGrids(!arguments is ARRAY)

-- At view

!viewRefe = !!ce

-- Set grid parameters

AGSIDE 'TOP LEFT'

-- Update the grid annotation

UPDATE GRIDANNO

endfunction

Related Links
TitleResults for “How to create a CRG?”Also Available in