Alternative Item Codes
- Last UpdatedJan 07, 2026
- 1 minute read
By default, Isodraft takes the item code from the SPCOM name. If you require different item codes for different clients, you can set them in the Catalogue database as User-defined Attributes (UDAs) of the SPCOM. UDAs are described in the Lexicon Command Reference Manual supplied with the Administration User Documentation. It is also possible to derive the item code for Supports from a Standard Text Attribute, Text UDA or Property of the ATTA itself rather than from its SPCOM. See the Isodraft command ITEMCODE in the ISODRAFT Reference Manual for further information of how to display the item codes.
The following example shows part of a specification. The SPCOMs have UDAs :clienta and :clientb. Note that SPECON cannot output UDAs in tabular format, and so this example is just for illustration.
|
TYPE |
NAME |
... |
BLTREF |
:clienta |
:clientb |
|---|---|---|---|---|---|
|
FLAN |
*/FL100 |
... |
/BL100 |
F100L |
FLAN100 |
|
BOLT |
*/BL100 |
... |
/BL100 |
unset |
unset |
Note: ITEMCODE LENGTH LONG/SHORT has no effect on alternative item codes. Also note that any text after a delimiter character in a UDA will be stripped off (for example, ABC:123 would become ABC). Alternative item codes for bolts are set in a different way, refer to Alternative Item codes for Bolts for further information.