Special features

<< Click to Display Table of Contents >>

Navigation:  Drawing Manager > Features and functions > Drawing frame and mask > Mask file details > Variables for default values >

Special features

Previous pageReturn to chapter overviewNext page

Finally, there are variables that in various ways are linked to functions that calculate or produce the value in other ways.

 

Variable

Length

Description

!BLATT

8

Sheet number of the current sheet

 

The sheet number is calculated from the last characters of the file name according to the project parameters of the project.

 

!FOLGE:<field_name>

*

Value from next sheet, option 1

 

The value is fetched from the specified field of the next sheet. The field name of the field to fetch the information from is specified directly after the colon.

 

The length of the field that uses this variable as default should be equal to the length of the field that the variable refers to, for obvious reasons.

 

If the current sheet is the last one, the result is an empty value.

 

!FOLGE2:<field_name>

*

Value from next sheet, option 2

 

!FOLGE2 works in the same way as !FOLGE, with one difference. For the last sheet, the result is a dash (minus, "-") instead of an empty value.

 

!FOLGE3:<field_name>

*

Value from next sheet, option 3

 

!FOLGE3 works in the same way as !FOLGE2, with one difference. Dash is obtained not only for the last sheet overall, but also for the last sheet within each document code.

 

!GESAMT:<field_name>

*

Total number of sheets with equal value

 

This variable returns the total number of sheets that have the same value in the specified field as the current sheet. If, for example, the referenced field would contain the document number, the total number of sheets with that same document number would be calculated and returned.

 

!GESAMT:

*

Total number of sheets over all

 

This is the same as above, but when the field name is left out, the total number of sheets in the project is returned.

 

!MIRROR:<field_name>

*

Mirrored field

 

The value of the specified field in the same sheet is copied to the current field.

 

To avoid incorrect values, the current field should preferably be configured to be constant and therefore not editable.

 

The length of the current field should be equal to the field that is mirrored.

 

(!MIRROR works in the same way as !FOLGE, with the only difference that !FOLGE retrieves the value from the next sheet, while !MIRROR does exactly the same thing from the current sheet).

 

!C:<f1>,"c1",<f2>...

 

*

Concatenation of multiple fields

 

f1, f2 ... = field names

c1, c2 ... = constant texts

 

The !C variable is in fact an extended version of !MIRROR, which is discussed above. While !MIRROR retrieves information from one single other field of the same drawing sheet, !C is able to retrieve information from multiple such fields, and to combine that information with fixed values. After the colon, a number of parameters may follow. The parameters may be either field names or constants. Field names are written as with !MIRROR or !FOLGE (example: ZREV). Constants are specified within quotation marks (example: "Fixed text").

 

Example:

 

!C:ZRITNR,"-",ZBLAD

 

Explanation of the example:

 

The content of the field ZRITNR is concatenated with a minus character and the content of the ZBLAD field.

 

!SHORTDESC:DFNSEG=n

*

Short description of specified file name segment

 

This variable returns the short text of the document code that corresponds to segment number n in the file name composition.

 

!LONGDESC:DFNSEG=n

*

Long description of specified file name segment

 

This variable returns the description of the document code that corresponds to segment number n in the file name composition.

 

!DXFCHARS:DFNSEG=n

*

DXF code of specified file name segment

 

This variable returns the DXF code of the document code that corresponds to segment number n in the file name composition.