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

Tekla Structures
2019
Tekla Structures

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

Category : Numbering

Use to define the contents of the cast unit position number.

Note:

Do not change this advanced option after you have created single-part, assembly, or cast unit drawings, if you are using cloning. It may partially separate the drawings from the part they represent, causing the drawings to be flagged as deleted and other drawings to be cloned after the next numbering.

The options are:

Option

Description

%CAST_UNIT_PREFIX%

Cast unit prefix, defined in the part properties dialog box.

%CAST_UNIT_POS%

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

%CAST_UNIT_POS_WITH_LETTERS%

Same as above, but with letters.

Uses letters A – Z by default, but you can also define valid letters with the advanced option XS_VALID_CHARS_FOR_ASSEMBLY_POSITION_NUMBERS

%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 the options %CAST_UNIT_POS% and %CAST_UNIT_POS_WITH_LETTERS%. For example, %CAST_UNIT_POS_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_POS.3% , the result will be A/001.

Was this helpful?
Previous
Next