DRAW Administrator Guide
Isometric Automatic Drawing Production
:
User PML Functions
: Material Take-Off
Material Take-Off
!!mtoCwayParameters(!entries,!allComp,!cellRefe,!toBeSorted,!defaults)
!!mtoCwayWeight(!entries, !cellRefe)
!!mtoDescription(!entries, !cellRefe)
!!mtoHvacParam(!entries,!allComp,!cellRefe,!toBeSorted)
!!mtoHvacParameters(!entries,!allComp,!cellRefe,!toBeSorted,!defaults)
!!mtoHvacWeight(!entries, !cellRefe)
!!mtoPosNumber(!entries, !cellRefe, !toBeSorted)
!!mtoQuantity(!entries, !cellRefe)
The contents of each cell in a row entry in the Material Take-off Table, is calculated by a specific PML function. The function that needs to be executed to set the cell value is stored in the cell symbolic template held in the Isometric ADP library. Refer to
Material Take-Off Table
for further information.
Each PML function has a specific format. The function is passed an array of ISOMTOENTRY objects, one for each row, to which the function adds the required data for each cell in the relevant row. The object holds the cell ATEX string and the Symbolic Template, which are used in producing the SLAB to represent the cell.
For example, when setting the description, the function loops through each entry object, calculates the description string and sets the Cell 3 text to Rectangular Turning Vanes and Template 3 with the corresponding SYTM …/SortMtoEntry-Col3. The array of entries is then passed back to the calling function for the next cell additions until all are completed.
It is therefore important that these parts of the function remain unmodified. You can change how the description string, in this example, is constructed to suit company practices if different from that supplied.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.