XS_CAST_UNIT_FAMILY_POSITION_NUMBER_FORMAT_STRING

Tekla Structures
2021
Tekla Structures

XS_​CAST_​UNIT_​FAMILY_​POSITION_​NUMBER_​FORMAT_​STRING

Category

Numbering

Use to define the contents of the cast unit family position number. For example, instead of DT1-1, DT1-2, you can define the numbering as DT1-A, DT1-B.

To get this result, set the advanced option as follows:

%CAST_UNIT_PREFIX%%CAST_UNIT_FAMILY_NUMBER%-%CAST_UNIT_FAMILY_QUALIFIER_WITH_LETTERS%

Use the following options to define the contents of family position numbers. Use as many options as you need, and enclose each one in percent symbols (%).

Option

Description

%CAST_UNIT_PREFIX%

Cast unit prefix, defined in the part properties in the property pane.

%CAST_UNIT_POS%

The running cast unit position number, starting from the start number defined in the part properties in the property pane.

%CAST_UNIT_FAMILY_NUMBER%

Cast unit family number, defined by the start number (in part properties in the property pane) and the final position in that numbering series.

%CAST_UNIT_FAMILY_NUMBER_WITH_LETTERS%

Cast unit family number with letters. The letters run automatically from A to Z. If more letters are needed, Tekla Structures takes a second or even a third letter into use, for example AA or AAA.

You can also define valid letters with the advanced option XS_VALID_CHARS_FOR_ASSEMBLY_FAMILY_POSITION_NUMBERS.

%CAST_UNIT_FAMILY_QUALIFIER%

Cast unit family qualifier, defined by the family numbering criteria given in the Numbering Setup dialog box.

%CAST_UNIT_FAMILY_QUALIFIER_WITH_LETTERS%

Cast unit family qualifier with letters. The letters run automatically from A to Z. If more letters are needed, Tekla Structures takes a second or even a third letter into use, for example AA or AAA.

You can also define valid letters with the advanced option XS_VALID_CHARS_FOR_ASSEMBLY_FAMILY_QUALIFIER.

%UDA:[uda_name]%

User-defined attribute of the cast unit or cast unit main part. If the attribute is defined for the cast unit, it will be used. If it is not defined, the main part attribute will be used. You can also define that only the user-defined attribute of the main part will be used, for example %UDA:MAINPART.USER_FIELD_1%.

%TPL:[tpl_name]%

Template attribute of the cast unit or cast unit main part, for example % TPL:PROJECT.NUMBER%.

This advanced option is model specific and the setting is saved in the options database.

Number of characters

You can define the number of characters by adding a period and the required number to the end of each option. For example %CAST_UNIT_FAMILY_QUALIFIER_WITH_LETTERS.3% will result in three letters for every cast unit, starting from AAA.

Example

If you set the advanced option to

%CAST_UNIT_PREFIX%/%CAST_UNIT_FAMILY_NUMBER.3%-%CAST_UNIT_FAMILY_QUALIFIER.3%

The result will be

A/001-001.

Was this helpful?
Previous
Next