MicroStation supports a number of level key-ins to perform a number of functions such as:
Set level name, number and description
Modify level attributes
Modify Elements on a level
Purge levels
Create levels
Copy levels
Renumber levels
Report on levels
The format of these key-ins is very specific and incorporates a level-spec. Please refer to the following documentation for details:
Level Key-in Format
When it comes to OpenCities Map, the following Modify Level Attributes Key-ins might be useful:
LEVEL SET BYLEVEL COLOR [file:file-spec] - Sets the bylevel color of all levels specified by [file:file-spec] level-spec to “color-spec”. The “color-spec” is the color index.
LEVEL SET BYLEVEL STYLE [file:file-spec] - Sets the bylevel style of all levels specified by [file:file-spec] level-spec to “style-spec”. The “style-spec” can be the style-number or a style-name.
LEVEL SET BYLEVEL WEIGHT [file:file-spec] level-spec - Sets the bylevel color of all levels specified by [file:file-spec] level-spec to “weight-spec”. The “weight-spec” is the weight number.
LEVEL SET OVERRIDE COLOR [file:file-spec] - Sets the override color of all levels specified by [file:file-spec] level-spec ON or OFF or toggle ON to OFF or vice-versa or to “color-spec”. The “color-spec” is the color index.
LEVEL SET OVERRIDE STYLE [file:file-spec] - Sets the override style of all levels specified by [file:file-spec] level-spec ON or OFF or toggle ON to OFF or vice-versa or to “style-spec”. The “style-spec” can be the style-number or a style-name.
LEVEL SET OVERRIDE WEIGHT [file:file-spec] - Sets the override weight of all levels specified by [file:file-spec] level-spec ON or OFF or toggle ON to OFF or vice-versa or to “weight-spec”. The “weight-spec” is the weight number.
LEVEL SET BYLEVEL MATERIAL MATERIAL-SPEC [file:file-spec] - Sets the bylevel material of the levels specified in [file:file-spec] level-spec to “material-spec”.