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

Hull and Outfitting

Parts List Cell Data

  • Last UpdatedNov 06, 2025
  • 2 minute read

The second part of the Parts List report is the Parts table itself. The data for this is held by the second SYTM in the supplied example template.

The SYTM owns a series of TEXP elements which are used by the application to determine the attribute names used for the table header and the cell values.

When the Label Library is displayed the text elements will be visible, making it easy to access and modify them.

The system finds the relevant SYTM by using a search rule as defined by the configuration file setting partsAttRule, which in the example is set to "WITH SPPURPOSE EQ 'PARTS'". The configuration file and it settings are discussed later in this document.

As with the parts list table on the drawing, the TEXP element holds the data in the following attributes.

Btext 'NAME’

This is the attribute description used for the column header.

Etext '!!assyName(!partRefe,!asitem)’

This is the name of a PML function that will be called to extract the attribute value. The arguments !partRefe and !asitem are mandatory as they are used by the application to pass assembly and parts data to the function.

In the example, the cells 1-11 have the following values;

Column

Example Value

1

!!assyName(!partRefe,!asitem)

2

!!assyPType(!partRefe,!asitem)

3

!!assyDesc(!partRefe,!asitem)

4

!!assyQty(!partRefe,!asitem)

5

!!assyMQ(!partRefe,!asitem)

6

!!assyPosN(!partRefe,!asitem)

7

!!assyWeight(!partRefe,!asitem)

8

!!assyCoG(!partRefe,!asitem,|X|)

9

!!assyCoG(!partRefe,!asitem,|Y|)

10

!!assyCoG(!partRefe,!asitem,|Z|)

11

!!assyComment(!partRefe,!asitem)

All of the PML functions used by the parts list are included in the directory %PMLLIB%\assembly\userfunctions and are available for you to modify to satisfy your project requirements.

Note:
That the column data will be reported in the resulting table in the same order as the order of the TEXP elements in the database.

SYTM

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