XS_ASSEMBLY_POSITION_NUMBER_FORMAT_STRING

Tekla Structures
2022
Tekla Structures

XS_​ASSEMBLY_​POSITION_​NUMBER_​FORMAT_​STRING

Category in Advanced options dialog box: Numbering

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

Note:

The advanced options XS_ASSEMBLY_POSITION_NUMBER_FORMAT_STRING and XS_PART_POSITION_NUMBER_FORMAT_STRING override the advanced option XS_SWITCH_POS_NUMBERS_FOR. XS_SWITCH_POS_NUMBERS_FOR has no impact on assembly and/or part position numbers if you use XS_ASSEMBLY_POSITION_NUMBER_FORMAT_STRING and/or XS_PART_POSITION_NUMBER_FORMAT_STRING.

The options are:

Option

Description

%ASSEMBLY_PREFIX%

Assembly prefix, defined in the part properties dialog box.

%ASSEMBLY_POS%

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

%ASSEMBLY_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 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% .

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

Number of characters in the assembly position number

You can define the number of characters by adding a period and the required number to the end of the options %ASSEMBLY_POS_WITH_LETTERS% and %ASSEMBLY_POS%. For example,%ASSEMBLY_POS_WITH_LETTERS.3% will result in three letters for every assembly, starting from AAA.

Example

If you set the advanced option to %ASSEMBLY_PREFIX%/%ASSEMBLY_POS.3%, the result will be A/001.

Esta informação foi útil?
Anterior
Seguinte