User PML Functions
- Last UpdatedJan 20, 2023
- 1 minute read
Earlier in this document, the subject of the Task was discussed and how a PML function was called to carry out particular tasks such as the creation of a table on the drawing. Another subject, the Parts List, also discussed the execution of certain PML Functions.
All of the functions concerned are located in a particular folder %PMLLIB%\assembly\userFunctions. You should study these functions with a view to modifying them to suit your company and project requirements. Below is a list of these functions and a brief description of what they do;
|
assycog.pmlfnc |
Calculation of the element Centre of Gravity |
|
assycomment.pmlfnc |
The extraction of a comment on an element |
|
assydatestamp.pmlfnc |
The formatting of the file date stamp |
|
assydesc.pmlfnc |
The extraction of the element description |
|
assydoclink.pmlfnc |
Create links between ASMBLY and documents |
|
assydrwgno.pmlfnc |
The determination of drawing number |
|
assylvol.pmlfnc |
The calculation of the size parameters |
|
assymq.pmlfnc |
The extraction of Manufacturing Quality |
|
assyname.pmlfnc |
The extraction of the element name |
|
assynamedrwg.pmlfnc |
The naming of the DRWG element |
|
assyparam.pmlfnc |
The extraction of the element parameters |
|
assyposn.pmlfnc |
The extraction of the element position number |
|
assyptype.pmlfnc |
The extraction of the element part type |
|
assyqty.pmlfnc |
The extraction of the element quantity |
|
assyrootname.pmlfnc |
To determine the Assembly name for file |
|
assyweight.pmlfnc |
The extraction of the element weight |
|
assyexpandsubparts.pmlfnc |
Expand a part to include its subordinate parts in parts lists. |