CLANAM and CLAURI Mapping
- Last UpdatedSep 12, 2024
- 3 minute read
Two new engineering attributes are introduced in the schematic database, CLANAM and CLAURI. CLANAM is a Pseudo attribute which is set by setting the CLAURI attribute in the database.
Class mapping can be set using the Import Shape and Edit Shape windows.
Use the Browse button to set the Class Name and class URI of the shape in the Classification view in the Import Shape window.

This Classification section is available only to below element types:
SCEQUI, SCSUBE, SCPLIN, SCINST, SCVALV, SCFITT, SCOINS, SCCAB, SCHVAC, SCILIN, SCLOOP, SCBRAN, SCTUB, SCDUCT, SCHVFI, SCACTU, SCAREA, SCNOZZ, SCELCO, SCCORE.
Click on the Browse button to view the Select Class window to select a class.


Click on Select and the selected Class Name and URI will be set.

Click on Next and then Finish to complete the import. Drag and drop the imported shape to set the default class name.

Set the Class Name using the Edit Master Shape window.

Change the classification, at run time, in the Component Properties window.

Click the Pick a class button and in the next window choose the class.

Click the Select button and the Class Name and URI will be set to the selected shape.

Note:
Classification set against symbols reference in Diagrams will not keep the track of
changes done to the Engineering conceptual model, therefore if changes in classification
values are performed at the source conceptual model, they will have to be set again
in Diagrams. This for the updates to be reflected on the target engineering items
reference on the drawing.
Apart from these there are two call back events available for classification.
-
Call back function for classification on Symbol Insertion.
-
Classification on Symbol Insertion:
With the Symbol Insertion operation on canvas Diagrams will trigger a post back event which is linked to a PML function. Go to the same PML function and modify it according to your needs. For example, executing the Symbol Insertion operation, a PML function classificationonsymbolinsertion.pmlfnc is called.

PML example:

-
Call back function for classification on Symbol Exchange.
-
Classification on Symbol Exchange:
With the Symbol Insertion operation on canvas Diagrams will trigger a post back event which is linked to a PML function. Go to the same PML function and modify it according to your needs. For example, executing the Symbol Insertion operation, a PML function classificationonsymbolinsertion.pmlfnc is called.
