XS_​ASSEMBLY_​FAMILY_​POSITION_​NUMBER_​FORMAT_​STRING

Tekla Structures
2019
Tekla Structures

XS_​ASSEMBLY_​FAMILY_​POSITION_​NUMBER_​FORMAT_​STRING

Category

Numbering

Use to define the contents of the assembly 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:

XS_ASSEMBLY_FAMILY_POSITION_NUMBER_FORMAT_STRING= %ASSEMBLY_PREFIX%%ASSEMBLY_FAMILY_NUMBER%-%ASSEMBLY_FAMILY_QUALIFIER_WITH_LETTERS%

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

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

%ASSEMBLY_PREFIX%

Assembly prefix, defined in the part properties in the property pane.

%ASSEMBLY_POS%

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

%ASSEMBLY_FAMILY_NUMBER%

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

%ASSEMBLY_FAMILY_NUMBER_WITH_LETTERS%

Assembly 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.

%ASSEMBLY_FAMILY_QUALIFIER%

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

%ASSEMBLY_FAMILY_QUALIFIER_WITH_LETTERS%

Assembly 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 assembly or assembly main part. If the attribute is defined for the assembly, 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 assembly or assembly main part, for example % TPL:PROJECT.NUMBER%.

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 %ASSEMBLY_FAMILY_QUALIFIER_WITH_LETTERS.3% will result in three letters for every assembly, starting from AAA.

Example

If you set the advanced option to

XS_ASSEMBLY_FAMILY_POSITION_NUMBER_FORMAT_STRING=%ASSEMBLY_PREFIX%/%ASSEMBLY_FAMILY_NUMBER.3%-%ASSEMBLY_FAMILY_QUALIFIER.3%

The result will be

A/001-001.

Was this helpful?
Previous
Next