Cell Settings in INI Files


The symbol settings are adjusted in the section [Blocksymbole] (Block symbols). By default, you can find this section in the INI file Common.ini.

Every block symbol has to be defined in the ini-files; otherwise it will not be shown in the program. The entries are consecutively numbered. This number is then used to point to the required catenary elements, for example poles.

Anzahl: The section [Block symbols] always contains an entry Anzahl (Amount), which declares the number of defined block symbols. When you add a new cell definition this number should be increased to match number of definitions.

Entry

Value

Anzahl

[Total Number of defined cells] e.g. 1,2, …

 The count begins with 1.

You have to define exactly one entry for every cell. Each cell entry contains below parameters;

 Entry

Value

[Consecutive number]

[CellnameOld], [FactorXY Old], [CellnameNew], [FactorX], [FactorY], [Angle], [+X], [+Y], [-X], [-Y]

 

Some definitions also include an extra section as follows;

[Font], [POS], [Text height], [width factor], [Angle], [ASCII1](, [ASCII2])

These are used for compatibility reasons and you do not need to include them in your cell definitions.

 

Definition of parameters;

Variable

Definition

[CellnameOld]

Old name as result of reasons of compatibility, can be used as comment.

[FaktorXY Old]

Has always to be set to 1.

[CellnameNew]

Name of the block symbol (as defined in cell library).

[FaktorX]

Scaling factor along the x-axis

[FaktorY]

Scaling factor along the y-axis

[Angle]

Insertion angle of the block

[+X]

Distance between insertion point and furthermost right block element

[+Y]

Distance between insertion point and highest block element

[-X]

Distance between insertion point and outermost left block element

[-Y]

Distance between insertion point and bottom block element

 

Below you can see an entry for a concrete mast.

4=Betonmast,1,BMTRAG,1,1,0,1.25,1.25,1.25,1.25,dbft089,MZ,2.5,1,0,99

4 is the number entry that will represent this cell in other parts of the program. We can see what the entries are using the above parameter definitions.

Parameter Name

Example Entry

Explanation

[CellnameOld]

Betonmast

Old name as result of reasons of compatibility, can be used as comment

[FaktorXY Old]

1

Has always to be set to 1

[CellnameNew]

BMTRAG

Name of the block symbol (Defined in SiCat.cel)

[FaktorX]

1

Scaling factor along the x-axis

[FaktorY]

1

Scaling factor along the y-axis

[Angle]

0

Insertion angle of the block

[+X]

1.25

Distance between insertion point and furthermost right block element

[+Y]

1.25

Distance between insertion point and highest block element

[-X]

1.25

Distance between insertion point and outermost left block element

[-Y]

1.25

Distance between insertion point and bottom block element

Do Not Use

dbft089,MZ,2.5,1,0,99

These parameters are for compatibility only and not needed in OpenRail Overhead Line Designer.