Example: New mast definition


In this example we will add a new mast definition. Please note that this will be added to the general list of masts defined in the Mast properties >Types>Mast Category. Detailed selection of masts or any other assembly, together with part numbers is done using Assembly toolset.

We will use an existing cell definition, “DEBEF1”, from existing “SiCat_Cells.cel” library for this example. You can create your own cells or import existing ones. Please refer to MicroStation trainings and documentation for more information about creating cells.

The steps needs to be taken for this work is as below.

1- Decide where new mast definition should be added.

Library DAT files (Common.dat, Customer.dat or Project.dat): Add the definition here to have it part of overall library. Definitions added here will be available for future projects.

[Dgn].dat: When definition is added here, it will be available only for the active project and will not be available in the new projects.

2- If you decide to work on active dat file then close the OpenRail Overhead Line Designer beforehand. Or else program will override the changes you have made in the file, as this is the working file.

3- Open DAT File

Run Configuration editor and open required dat file. In this example we will use to active dgn.dat so the new definition will be available immediately.

4- Open INI file for editing

        Select o_common.ini file and click Edit

 Register new cell definition to Blocksymbole section.

5- Select Blocksymbole from the sections list. In this step you can either use New entry tool to create a new entry or use an existing similar entry and copy and paste. To copy an entry right click on the entry and select Copy.

We will use New entry button to create a new entry. In the library there are 337 definitions, so this new entry should have the next available number, 338. Name the new entry as “338”. Please note you can see number of entries by checking “anzahl” (number) entry .

6- Add new values to entry

Double click on the newly created entry and add required values and click OK.

TestMast,1,DEBEF1,1,1,0,1.25,1.25,1.25,1.25

Please refer to “Cell Settings in INI Files” chapter for definition of these values.

7- Increase “Anzhl” entry to match with new number of entries.

Double click Anzhl entry and change value to 338.

8- Register new entry to Mast list.

Select [Maste] section and create a new entry. We will refer to entry definitions for Maste section

Maste

0 ... N

Entry for the description of a pole category. It consists of
<n>=<Mastkathegoriename>,<Blockindex><J|N für Ankerangabe>
The description of the anchor specifies, if a backstay anchor should be generated at the pole during the allocation of a catenary termination.

 

Name of the new entry is “10” as there are already masts defined from 0 to 9 in this section. We will name new mast as “Test Mast” and want to have backstay anchor to be applied in wire termination (“J”). We will use the newly registered cell definition “338” for the representation of this new mast in the plan view.

So the value will be;

Test mast,J,338

9- Increase “Anzhl” entry of this (Maste) section to match with new number of entries.

Double click Anzhl entry and change value to 11 (note that there is a definition using number 0 so total count is 11).

10- Save the INI file and close ini editor.

11- Save the DAT file and close DAT editor.

12- Start OpenRail Overhead Line Designer and open the project dgn. You can see new type is added to mast type list and represented with defined cell. Please note that if you added definition to one of the library DAT files (Common, your active project dgn will not be affected. However, all new projects will include the new definition.