Create Parts Tags
- Last UpdatedNov 06, 2025
- 1 minute read
The PML function !!assyTagParts(!array) will create a symbolic label for each suitable part within the assembly, for example non-modelled elements are ignored. When a drawing is being created all suitable parts are tagged, however during an update then labels will be created for only those parts that are unlabelled.
The labels will be created in a LAYE with its attribute SPPURP set to 'PRTTAG. If the created labels are to 'arranged' using a subsequent task, then this layer must be the current element once the task is complete.

Task parameters
|
Parameter Description |
Example Value |
|---|---|
|
SpPurpose of the SYTM used for the label |
PRTTAG |
|
Leader Line Terminator |
DOT |
In the example, the search finds the SYTM /Assembly-Planning/PartNo, which contains a circle and a TEXP element. The latter has the BTEX attribute set to #ATEX, which is the SYTM attribute which holds the Part Number as calculated by the system.