XS_​DRAWING_​PLOT_​FILE_​NAME

Tekla Structures
2018i
Tekla Structures

XS_​DRAWING_​PLOT_​FILE_​NAME

This advanced option must be set in an initialization (.ini) file.

Use this advanced option to define print filenames for drawings, if the filename is missing from the Print Drawings dialog box. This advanced option is used if you have not entered a value for some of the following advanced options: XS_DRAWING_PLOT_FILE_NAME_A , XS_DRAWING_PLOT_FILE_NAME_C , XS_DRAWING_PLOT_FILE_NAME_G , XS_DRAWING_PLOT_FILE_NAME_W , or XS_DRAWING_PLOT_FILE_NAME_M.

Enter any 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:<drawing user-defined attribute>

TPL:<template attribute>

<variable>?- <text>

The question mark (?) can be used for querying if a <variable> is set, and if it does, the <text> after the question mark until the last % will be printed. See the second example below.

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

Examples

%DRAWING_NAME.% - %DRAWING_TITLE%%DRAWING_REVISION? - Rev %%REVISION_MARK%

%NAME% - %TITLE%%UDA:DRAWING_USERFIELD_1? - %%UDA:DRAWING_USERFIELD_1%%DRAWING_REVISION? - Rev%%DRAWING_REVISION%

If you define %DRAWING_NAME.% - %DRAWING_TITLE%%DRAWING_REVISION? - Rev %%REVISION_MARK% , a .pdf file with a name P1 - PLATE - Rev A.pdf will be created from a single part drawing, for example, where

DRAWING_NAME. = P1, this is the part position without punctuation.

DRAWING_TITLE = PLATE, this is the name that you have entered in the Name box in drawing properties.

DRAWING_REVISION = empty, if there are no revisions, or a numeric value 1, 2, 3, etc according to the revision selected in Rev.No. in the Revision Handling dialog box. The actual value is not written in the plot file name, but the text after the question mark (?).

- Rev is the text to be printed, if DRAWING_REVISION gives a value. If DRAWING_REVISION does not give a value, the text - Rev will not be printed. In this case, the plot file name will not have REVISION_MARK either because the drawing has not been revised.

REVISION_MARK = A, because A has been defined as the revision mark in the Revision Handling dialog box.

Was this helpful?
Previous
Next