Classification utilities > About smlutility and sml file format > smlutility keyword syntax and description
BLD and BSM keywords (subclass)
The BLD keyword defines a subclass. A subclass definition consists of a BLD definition statement followed by up to 60 BSM lines that associate attributes with the subclass. The selected attributes must be a subset of the class attributes. Note A subclass is similar to a view of a class. It is comprised of a subset of the attributes used to define the class. The order of the attributes does not have to be the same as the order of the attributes at the class level. Classification displays the attributes in the order defined by the subclass. The attributes are associated with the class because they immediately follow the BLD statement. There is no explicit reference to the class in the BLD statements. Element name Definition Description BLD Keyword BLD-ID Subclass ID Internal unique subclass identifier. Description Description Subclass name displayed in the Classification user interface. Short Description Short description Graphics File Graphics file Flags Not used, always 0. EX1 Not used. EX2 Not used. Element name Definition Description BSM Keyword UNCT Attribute ID Specifies the ID of an attribute defined in the UNCT dictionary. It associates the attribute with the subclass. The list of attributes assigned to a subclass must be a subset of the attribute list defined for the class. Min Minimum numeric value Max Maximum numeric value Flags Not used, always 0. TXT Not used. Flags1 Not used, always 0. TXT1 Not used. Flags2 Not used, always 0. TXT2 Not used. EX1 Not used. EX2 Not used. For example, the following lines define the HexNuts01 and SquareNuts01 subclasses and associate a predefined attribute named ID: Copy BLD|00 |Nuts |Fasteners|nuts.gif|Nts|nuts.gif| 0 | | |!Subclass BLD|01 |HXNuts|Fasteners|nuts.gif|Nts|nuts.gif| 0 | | |!Subclass BSM|-25011|ID | | |0 | | | !ID attribute
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/hwl1737253702969/ilg1737253703059/dkp1737253703710/bld_bsm_keywords_subclass.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)