DRAW Administrator Guide
Isometric Automatic Drawing Production
:
Configuration
: Material Take-Off Table
Material Take-Off Table
The Material Take-off Table is controlled by several symbolic template elements (SYTM) each of which has an associated PML Function. The SYTM elements are all supplied in the Library /TT/Isometric_ADP/StandardLibrary. The PML functions are held in the path defined by the environment variable %PMLLIB%, refer to
User PML Functions
for further information.
To modify the table format, both the SYTM elements and its corresponding function must be modified.
Two different arrangements for the MTO table are supplied; individual or sorted; The table structure for these two arrangements is held in an individual Label Library (LALB), which owns a series of symbolic templates (SYTM). Each SYTM represents a cell in the relevant MTO table.
Individual Entries
In this table arrangement there is an entry or row for each individual component in the spool. The position number is extracted from the 3D model data. The table is constructed of a Header and a Row, both of which are built using a series of cells, each one of which is a separate SYTM.
HEADER
The symbolic templates for the header in this table are held in the following Label Libraries;
HVAC
/TT/Isometric_ADP/Hvac/MtoTable-Display
Electrical CWAY
TT/Isometric_ADP/Cway/MtoTable-Display
The Label Library also includes some dummy SYTM elements representing the row, which although unused make it easier to design the table. The Label Libraries hold data about the function of the owned symbolic templates:
SpPurpose TABTEM
Indicates that the purpose of this Label Library is to hold Table Templates.
Function 'Hvac Mto Table Display
The Table Templates are for HVAC Mto. The description must be exact.
Function 'Cway Mto Table Display
The Table Templates are for Electrical CWAY Mto. The description must be exact.
The SYTM elements for each Header Cell that make up the header are collected by IsoADP using the following UDA and value:
:IdpPurp
'Header Display'
The value of this attribute must be set to these words since the code specifically looks for them.
ROW
The symbolic templates for the row in this table are held in the following Label Libraries:
HVAC
/TT/Isometric_ADP/Hvac/MtoTable-Templates
Electrical CWAY
/TT/Isometric_ADP/Cway/MtoTable-Templates
Each cell is very similar in that the hash code used is the same. The #ATEX is used because IsoADP functionality calculates the value required using the associated PML Function and stores it in the resulting SLAB attribute ATEX.
The Label Libraries hold data about the function of the owned symbolic templates, the build direction and the entry spacing.
SpPurpose TABTEM
Indicates that the purpose of this Label Library is to hold Table Templates
Function 'Hvac Mto Table Template
The Table Templates are for HVAC Mto, the description must be exact.
Function 'Cway Mto Table Template
The Table Templates are for Electrical CWAY Mto, the description must be exact.
:IdpMove 4
The distance from one entry to the next in mm.
:IdpDire -Y
The table build direction.
The Label Library owns four SYTM elements that produces a table entry:
Apart from the single TEXP element that has the attribute BTEX set to #ATEX, the SYTM owns a series of STRA elements that represent the sides of the cell.
Each SYTM holds data about the cell that it represents, the data is held in a series of User Defined Attributes.
Position Cell
The SYTM is named with the ending …/MtoEntry-Col1.
The attributes of this SYTM are:
:IdpDesc POSITION
The cell is the only one that requires a description, the word POSITION is mandatory.
:IdpColumn 1
The column number.
:IdpFunc '!!mtoPosNumber(!entries,!cellRefe,!toBeSorted)'
The is the function that is used to extract the necessary data for the cell. The arguments are all found in the calling function
!!isoMto()
.
:IdpPurp Entry
Indicates that the cell is for the body of the table. Otherwise it can be a header or a last line.
:IdpSort false
Indicates that the cell is not to be sorted.
:IdpCheck false
Indicates that the cell value does not need to be checked for any overlap with the neighbouring cell.
:IdpEnd 7
The value specifies the position, in millimetres, of the end of the cell relative to the first cell start point (this cell). It therefore also gives the start of the next cell.
Description Cell
The SYTM is named with the ending …/MtoEntry-Col2.
The attributes of this SYTM:
:IdpColumn 2
The column number.
IdpFunc '!!mtoDescription(!entries,!cellRefe)'
The PML Function.
:IdpCheck true
Indicates that the cell value may overlap the next cell and hence requires checking and modifying if so.
:IdpEnd 59
The cell end position.
Size Cell
The SYTM is named with the ending …/MtoEntry-Col3.
The attributes of this SYTM:
:IdpColumn 3
The column number.
:IdpFunc '!!mtoHvacParam(!entries,!allComp,!cellRefe,!toBeSorted)'
The PML Function.
:IdpSort true
Indicates that the column is sorted and grouped with any other entries with the same value.
:IdpCheck true
Indicates that the cell value may overlap the next cell and hence requires checking and modifying if so.
:IdpEnd 123
The cell end position.
Weight Cell
The SYTM is named with the ending …/MtoEntry-Col4.
The attributes of this SYTM:
:IdpColumn 4
The column number.
:IdpFunc '!!mtoHvacWeight(!entries,!cellRefe)
'The PML Function.
:IdpEnd 135
The cell end position.
Last Line
The SYTM is named with the ending …/MtoLastLine. The SYTM is only used as the last entry and to terminate the table.
It therefore needs to contain just one STRA element, which is the width of the table.
:IdpPurp Last Line
Sorted Size Column and Quantity Column
In this table arrangement the size column is sorted so that all components that are equal is collated into the same entry or row, a quantity column gives a total for each similarly grouped component.
HEADER
The symbolic templates for the header in this table are held in the following Label Libraries:
HVAC
/TT/Isometric_ADP/Hvac/SortMtoTable-Display
Electrical CWAY
/TT/Isometric_ADP/Cway/SortMtoTable-Display
The Label Library also includes some dummy SYTM elements representing the row, which although unused should make it easier for you to design the table.
The Label Libraries hold data about the function of the owned symbolic templates:
SpPurpose SORTED
Indicates that the purpose of this Label Library is to hold Sorted Table Templates.
Function 'Hvac Mto Table Display
The Table Templates are for HVAC Mto, the description must be exact.
Function 'Cway Mto Table Display
The Table Templates are for Electrical CWAY Mto, the description must be exact.
The SYTM elements for each Header Cell that make up the header are collected by IsoADP with the use of the following UDA and value:
:IdpPurp
Header Display
The value of this attribute must be set to these words since the code specifically looks for them.
ROW
The symbolic templates for the row in this table are held in the following Label Libraries:
HVAC
/TT/Isometric_ADP/Hvac/SortMtoTable-Templates
Electrical CWAY
/TT/Isometric_ADP/Cway/SortMtoTable-Templates
Each cell is very similar in that the hash code used is the same. The #ATEX is used because IsoADP functionality calculates the value required using the associated PML Function and stores it in the resulting SLAB attribute ATEX.
The Label Libraries hold data about the function of the owned symbolic templates, the build direction and the entry spacing.
SpPurpose SORTED
Indicates that the purpose of this Label Library is to hold Sorted Table Templates.
Function 'Hvac Mto Table Template
The Table Templates are for HVAC Mto, the description must be exact.
Function 'Cway Mto Table Template
The Table Templates are for Electrical CWAY Mto, the description must be exact.
:IdpMove 4
The distance from one entry to the next in mm.
:IdpDire -Y
The table build direction.
The Label Library owns five SYTM elements that produces a table entry:
Apart from the single TEXP element that has the attribute BTEX set to #ATEX the SYTM owns a series of STRA elements that represent the sides of the cell.
Each SYTM holds data about the cell that it represents, the data is held in a series of User definable Attributes.
Position Cell
The SYTM is named with the ending …/SortMtoEntry-Col1.
The attributes of this SYTM:
:IdpDesc POSITION
The cell is the only one that requires a description, the word POSITION is mandatory.
:IdpColumn 1
The column number.
:IdpFunc '!!mtoPosNumber
(!entries,!cellRefe,!toBeSorted)'
The function that is used to extract the necessary data for the cell. The arguments are all found in the calling function
!!isoMto()
.
:IdpPurp Entry
Indicates that the cell is for the body of the table, otherwise it can be a header or a last line.
:IdpSort false
Indicates that the cell is not to be sorted.
:IdpCheck false
Indicates that the cell value does not need to be checked for any overlap with the neighbouring cell.
:IdpEnd 7
Specifies the position, in millimetres, of the end of the cell relative to the first cell start point (this cell). It therefore also gives the start of the next cell.
Quantity Cell
The SYTM is named with the ending …/SortMtoEntry-Col2.
The attributes of this SYTM:
:IdpColumn 2
The column number
:IdpFunc '!!mtoQuantity
(!entries,!cellRefe)’
The PML Function
:IdpEnd 14
The cell end position
Description Cell
The SYTM is named with the ending …/SortMtoEntry-Col3.
The attributes of this SYTM:
:IdpColumn 3
The column number.
:IdpFunc '!!mtoDescription
(!entries,!cellRefe)'
The PML Function.
:IdpCheck true
Indicates that the cell value may overlap the next cell and hence requires checking and modifying if so.
:IdpEnd 59
The cell end position.
Size Cell
The SYTM is named with the ending …/SortMtoEntry-Col4
,
the attributes of this SYTM:
:IdpColumn 4
The column number.
:IdpFunc '!!mtoHvacParam
(!entries,!allComp,!cell
Refe,!toBeSorted)'
The PML Function.
:IdpSort true
Indicates that the column is sorted and grouped with any other entries with the same value.
:IdpCheck true
Indicates that the cell value may overlap the next cell and hence requires checking and modifying if so.
:IdpEnd 123
The cell end position.
Weight Cell
The SYTM is named with the ending …/SortMtoEntry-Col5.
The attributes of this SYTM:
:IdpColumn 5
The column number.
:IdpFunc '!!mtoHvacWeight
(!entries,!cellRefe)'
The PML Function.
:IdpEnd 135
The cell end position.
Last Line
The SYTM for is named with the ending …/SortMtoLastLine. SYTM is only used as the last entry and to terminate the table.
It therefore needs to contain just one STRA element, which is the width of the table.
:IdpPurp Last Line
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.