ITEMCODE (2)
- Last UpdatedJul 30, 2025
- 2 minute read
|
Function: |
Specifies whether or not specification names are to be included in material list itemcodes, and whether items which have the same itemcode except for the specification name and suffix are treated as the same item. |
|
Description: |
By default, itemcodes shown in the material list do not include the name of the Specification from which the material data has been extracted. This is known as a short itemcode. The ITEMCODE LENGTH command allows the user to use the full SPCOM, which includes the SPEC name but excludes the suffix, as the itemcode. By default, Isodraft removes any itemcode suffixes before comparing itemcodes for totalling in the material list. The SEPARATE option allows itemcodes to be compared before the specification name and suffix are removed, thus allowing itemcodes to be listed separately with different descriptions. The user can set up multiple itemcodes for elements in the DESIGN database by creating user-defined attributes (UDAs) for the SPCOM of the element. For bolts, the UDAs are created as attributes of a DTAB element. The user can then use the ITEMCODE command to specify that the itemcode should be taken from a UDA instead of from the SPCOM. The Item Code for a Support may be derived from a Standard Text Attribute, Text UDA, or Property of the ATTA itself rather than from its SPCOM. |
|
Examples: |
ITEMCODE LENGTH LONG Itemcodes to include SPEC name. ITEMCODE LENGTH SHORT Itemcodes to exclude SPEC name. ITEMCODE TOTAL Itemcodes which are the same except for the specification name and suffix are totalled. ITEMCODE SEPARATE Itemcodes that are the same except for the specification name and suffix are listed separately. ITEMCODE FROM :ABC Itemcodes to be taken from the UDA named :ABC. The UDA must exist for SPCOMs. ITEMCODE FROM SPREF Itemcodes to be taken from the SPCOM. ITEMCODE FOR SUPPORTS FROM FSTATUS Itemcodes for Supports to be taken from the FSTATUS attribute of the Support. ITEMCODE FOR SUPPORTS FROM :MDSItemCode Itemcodes for Supports to be taken from the :MDSItemCode UDA of the Support. ITEMCODE FOR SUPPORTS FROM PROP RNAM Itemcodes for Supports to be taken from the RNAM Property of the Support. |
|
Related Commands: |
MATERIALLIST DELIMITER |
|
Command Syntax: |
>-- ITEMcode --+----------------------. |
|
Querying: |
Q ITEMCODE Q ITEMCODE LENGTH Q OPTions |