Contents

Index

Assigning layers when exporting to MicroStation

When exporting to MicroStation, you can assign Allplan layers to corresponding MicroStation level numbers. By default, MicroStation creates these levels in numerical order, regardless of how they were assigned in the configuration file. However, you can assign the layers to the relevant level numbers by editing the configuration file (*.cfg).

In this example, a drawing file with three layers is used:

You wish to asisgn the RECTANGLE layer to level number 10 in MicroStation, the TRIANGLE layer to level number 34 and the CIRCLE layer to level number 52.

To transfer Allplan layers to MicroStation level numbers

  1. Export the drawing file to .dgn format using the Export... tool (Create menu, Interfaces).
  2. In the Export dialog box, click Save to save the configuration file for future data exchange operations.
  3. Open the .cfg file (the names of the layers which were assigned when exporting to MicroStation are also included in this file) using a text editor (e.g. Windows Notepad).
  4. Look for the @ LAYER section. The names of the Allplan layers (in this example: "EXPORT|TEST|RECTANGLE" "RECTANGLE") are displayed on the left and the corresponding MicroStation levels (in this example "RECTANGLE" "RECTANGLE" ) on the right.

    Enter level number 10__ for the MicroStation level "RECTANGLE", 34__ for TRIANGLE and 52__ for CIRCLE.

    Note: Check that the level number is followed by two underscores and the level name: "10__RECTANGLE" "comment"

    In our example, the .cfg file should now look like this:

    "EXPORT|TEST|RECTANGLE" "RECTANGLE" -> "10__RECTANGLE" "RECTANGLE"

    "EXPORT|TEST|TRIANGLE" "TRIANGLE" -> "34__TRIANGLE" "TRIANGLE"

    "EXPORT|TEST|CIRCLE" "CIRCLE" -> "52__CIRCLE" "CIRCLE"

  5. Save the modified configuration file.
  6. Now use the new configuration file to export the drawing file to .dgn format again.

    As you can see in the log file, the Allplan layers are now assigned to the corresponding level numbers.

Important: This requires in-depth knowledge of the operating system, Windows Explorer and text editors. Never modify the original without making a copy first! In the event of errors, you can still fall back on the original file if need be.



(C) Allplan GmbH Privacy policy