Storage of file name composition

<< Click to Display Table of Contents >>

Navigation:  Drawing Manager > Technical details >

Storage of file name composition

Previous pageReturn to chapter overviewNext page

The file name composition is defined by project parameters that are accessed the usual way by right-clicking the project in the Project Module and then selecting Project parameters (properties).... The editor for file name composition is found under the second tab, which is named Drawing Manager 1. A complete description of the editor is found in the File name composition sub-topic of the Project Module topic.

 

The project parameters in question are stored in a configuration file called PROJECTS.INI, which is located in the SOURCE directory of the current project. Below you will find an extract of the PROJECTS.INI that has been used for the examples that are discussed above.

 

As you can see, the first part is a section in which the general conditions are defined, like the length of the file name, the number of digits in the sheet number and the number of segments (document codes and more) that the file name is made up of, the sheet number not counted. Please note that the underline character that was used in cadett ELSA R32 and older to automatically fill the file names between drawing classes/types and sheet number, are now regarded as file name segments and are also configured as such. This means that it is entirely possible to configure the Drawing Manager so that it behaves in the same way as in old versions, despite the heavy extension that has been made of the possibilities, and the fact that the terminology has been partly changed.

 

Thereafter you will find one section per segment to define these. A segment is either a constant or a node in a tree (a document code in a tree structure).  The number of characters is defined for each segment. For a segment consisting of a a constant, the fixed value of it is specified. For a segment consisting of a document code, the tree it belongs to is specified together with the level in the tree in which it is located. The top level is specified as "1", the second level as "2" and so on.

 

Please note that document codes that are shorter than the configured length are automatically extended with underlines.

 

A document code longer than the configured length constitutes an error.

 

The example below, comes from the full implementation of IEC1355. The file names are composed of 5 segments, plus the sheet number consisting of 3 digits.

 

 

[FileNameComposition_General]

FileNameTotalLength=12

SheetNumberDigits=3

NumberOfSegments=5

SheetNumberStart=1

SheetNumberStep=1

LeadingZeroes=0

 

[FileNameComposition_Segment1]

Type=Tree

Length=1

Tree="IEC1355 Area"

Level=1

 

[FileNameComposition_Segment2]

Type=Tree

Length=1

Tree="IEC1355 Class/subclass"

Level=1

 

[FileNameComposition_Segment3]

Type=Tree

Length=1

Tree="IEC1355 Class/subclass"

Level=2

 

[FileNameComposition_Segment4]

Type=Tree

Length=3

Tree="IEC1355 Counting number"

Level=1

 

[FileNameComposition_Segment5]

Type=Constant

Length=3

Value="___"