Customizing Print File Names
The names of the print files can be adjusted so that they automatically change based on values defined in the project and firm folders.
You can define drawing print file names using the following advanced option:
The letter at the end of the advanced option indicates the drawing type.
- If you want to adjust these settings in the firm folder, this advanced option must be defined in an
Initialisierungsdatei (.ini).
z.B. «options****.ini»
Settings in initialization files do not change the selection in existing models. They are used when you create a new model or add values for options that do not yet have a value in the model.
Example in an Initialisierungsdatei (.ini):
Example:
For example, the following will generate a .pdf file for a general arrangement drawing (G-Plan) as: 20190-100-A Schalung Bodenplatte.pdf :
set XS_DRAWING_PLOT_FILE_NAME_G=%%TPL:PROJECT.NUMBER%%-%%DRAWING_TITLE%%-%%TPL:REVISION.LAST_MARK%% %%TPL:DRAWING.TITLE1%% %%TPL:DRAWING.TITLE2%%
Start with the advanced option name, then a desired combination of text and attributes, separated by double percent signs %%.
- For existing projects/models, you can change the value directly in the Tekla Structures user interface. To access the options: Menu > Settings and under Settings, select Advanced Options. In the Printing category, you can enter a value for this advanced option.
Example:
Enter the desired combination of text and options, separated by a single percent sign %.
Same example as above, but for existing projects/models:
%TPL:PROJECT.NUMBER%-%DRAWING_TITLE%-%TPL:REVISION.LAST_MARK% %TPL:DRAWING.TITLE1% %TPL:DRAWING.TITLE2%
Examples of Possible Combinations
You can find information and examples of possible values here: Druckdateinamen anpassen.
Provide a combination of text and options:
NAME ,NAME.- ,NAME.,DRAWING_NAME ,DRAWING_NAME. ,DRAWING_NAME.- ,REVISION ,DRAWING_REVISION ,REV_MARK, REVISION_MARK ,DRAWING_REVISION_MARK ,REV ,TITLE ,DRAWING_TITLE, UDA:<benutzerdefiniertes Zeichnungsattribut> ,
TPL:<Vorlagenattribut> und <Variable>?- <Text>.
The question mark ? checks whether a <Variable> is set. If so, the <Text> after the question mark will be output.
Example:
%DRAWING_NAME.% - % DRAWING_TITLE %% DRAWING_REVISION? -Rev %% REVISION_MARK %
(If there is a revision, write “-Rev” and then the revision mark)
General Arrangement Drawings - XS_DRAWING_PLOT_FILE_NAME_G
0001-1001.0-0 SP Titel2.pdf - Project number, drawing title, last revision mark, assigned to, Title2.
| What should be set in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_G=%%TPL:PROJECT.NUMBER%%-%%DRAWING_TITLE%%-%%TPL:REVISION.LAST_MARK%% %%UDA:DRAWING.USERDEFINED.DR_ASSIGNED_TO%% %%TPL:DRAWING.TITLE2%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%DRAWING_TITLE%-%TPL:REVISION.LAST_MARK% %UDA:DRAWING.USERDEFINED.DR_ASSIGNED_TO% %TPL:DRAWING.TITLE2% |
0001-1001-Rev A-Titel1.pdf - Project number, drawing title, revision (if present), Title1.
not 0001-1001-Titel1.pdf if there's a revision.
| What should be set in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_G=%%TPL:PROJECT.NUMBER%%-%%TPL:DRAWING.TITLE%%DRAWING_REVISION?-Rev %%%%REVISION_MARK%%-%%TPL:DRAWING_TITLE1%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%TPL:DRAWING.TITLE%DRAWING_REVISION?-Rev %%REVISION_MARK%-%TPL:DRAWING_TITLE1% |
0001-TA1-003-Rev A-Titel1.pdf - Project number, sub-contract number, drawing title, revision (if present), Title1.
To achieve this file name with inclusion of the sub-contract number, a new attribute must be created. This attribute should be saved as a .inp file in the firm folder under \INP. Other custom attributes should be handled the same way.
| What should be set in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_G=%%TPL:PROJECT.NUMBER%%-%TA%%%UDA:Attributname%%-%%TPL:DRAWING.TITLE%%DRAWING_REVISION?-Rev %%REVISION_MARK%%-%%TPL:DRAWING.TITLE1%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-TA%UDA:Attributname%-%TPL:DRAWING.TITLE%DRAWING_REVISION?-Rev %REVISION_MARK%-%TPL:DRAWING.TITLE1% |
0001_222_Bewehrung - Rev A_13.07.2023.pdf - Project number, drawing title, Title1, revision (if present), print date.
| What should be set in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_G=%%TPL:PROJECT.NUMBER%%-%%DRAWING_TITLE%%%%TPL:DRAWING_TITLE1%% %%TPL:DRAWING.REVISION.MARK? - Rev %%TPL:DRAWING.REVISION.MARK%%_%%TPL:DRAWING.DATE_PLOT%%
set XS_DISABLE_DRAWING_PLOT_DATE=FALSE
|
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%DRAWING_TITLE% %TPL:DRAWING_TITLE1% %TPL:DRAWING.REVISION.MARK? - Rev %TPL:DRAWING.REVISION.MARK%_%TPL:DRAWING.DATE_PLOT% |
If the date format should be changed, it can be configured here.
The actual attribute «DATE_PLOT», queried at the drawing level (DRAWING), is combined in the option for generating Druckdateinamens «DRAWING.PLOT_DATE»
Assembly Drawings-XS_DRAWING_PLOT_FILE_NAME_W
22100049-0101-1001Rev A.pdf - Project number, drawing title, revision (if present).
| What should be defined in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_W=%%TPL:PROJECT.NUMBER%%-%%DRAWING_NAME.%%DRAWING_REVISION?-Rev %%REVISION_MARK%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%DRAWING_NAME.%DRAWING_REVISION?-Rev %REVISION_MARK% |
Single-Part Drawings- XS_DRAWING_PLOT_FILE_NAME_A
22100049-0101-101Rev A.pdf - Project number, drawing title, revision (if present).
| What should be defined in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_A=%%TPL:PROJECT.NUMBER%%-%%DRAWING_NAME.%%DRAWING_REVISION?-Rev %%REVISION_MARK%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%DRAWING_NAME.%DRAWING_REVISION?-Rev %REVISION_MARK% |
Multi Drawings- XS_DRAWING_PLOT_FILE_NAME_M
22100049-0101-101Rev A.pdf - Project number, drawing title, revision (if present).
| What should be defined in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_M=%%TPL:PROJECT.NUMBER%%-%%DRAWING_NAME.%%DRAWING_REVISION?-Rev %%REVISION_MARK%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%DRAWING_NAME.%DRAWING_REVISION?-Rev %REVISION_MARK% |
Cast Unit Drawings - XS_DRAWING_PLOT_FILE_NAME_C
22100049-0101-101Rev A.pdf - Project number, drawing title, revision (if present).
| What should be defined in the firm folder: | set XS_DRAWING_PLOT_FILE_NAME_C=%%TPL:PROJECT.NUMBER%%-%%DRAWING_NAME.%%DRAWING_REVISION?-Rev %%REVISION_MARK%% |
|---|---|
| What should be changed in the existing model: | %TPL:PROJECT.NUMBER%-%DRAWING_NAME.%DRAWING_REVISION?-Rev %REVISION_MARK% |
Note:
If the brackets in the drawing numbers in the title block disappear, this option should be added to the «options****.ini» file:
set XS_ASSEMBLY_POSITION_NUMBER_FORMAT_STRING=%%ASSEMBLY_PREFIX%%-%%ASSEMBLY_POS%%
Caution: This must never be changed during an ongoing project!
(At least not if the numbering has already been done and data has been issued.)
For more information, see:
XS_ASSEMBLY_POSITION_NUMBER_FORMAT_STRING