MicroStation Help

Level Key-in Format

Most level key-ins take a "level-spec." A "level-spec" format is very general and can take one of the following forms:

  • A single level-name, or a level-number.
  • An expression such as "lev*". When specified as an expression, then level specification matches all levels that pass the expression. The expression "all" matches all levels.
  • A level-filter. When specified as a level-filter, then the level specification matches all levels which pass the filter.
  • More than one of the above separated by a space.

A single level-name, or a level-number preceded by "dest" specifies a destination level.

Many of the key-ins also take an optional "file:file-spec". Such commands have the syntax structure [file:file-spec] level-spec. The "file-spec" format can take one of the following forms:

  • The word "all" which matches the master-file and all reference attachments.
  • A file-name or logical-name, which matches one or more of the reference attachments. The file-name may also match the master-file.
  • An expression, which may match a file-name or logical-name of one or more of the reference attachments. The expression may also match the master-file.
  • A series of file-names separated by the "->" delimeter, where the series of file-names represent the path to a nested reference. For example, "file:ref1.dgn->ref2.dgn->ref3.dgn->ref4.dgn" represents the path to a nested reference (ref4.dgn).
  • A level-spec number will work only if the number is not auto-generated.

Example 1: To turn off the display of "level 1" in the master-file main.dgn.

level set display off "level 1"

Example 2: To turn off the display of "level 1" in the nested reference ref2.dgn.

level set display off file:ref1.dgn->ref2.dgn "level 1"

Level commands with [file:file-spec] level-spec Description
LEVEL DELETE <level-spec> Deletes specified level(s) if they are unused.
LEVEL DRAW [file:file-spec] <level-spec> Draws only the specified level(s) in the specified file(s) on screen.
LEVEL USAGE [file:file-spec] <level-spec> Returns the usage for specified level(s) in the specified file(s) to the Message Center.
LEVEL SET FROZEN <ON|OFF|TOGGLE> [file:file-spec] <level-spec> Sets the state of the Freeze flag for the specified level(s) in the specified file(s).

See Level Manager dialog for more information.

LEVEL SET VPFROZEN <ON|OFF|TOGGLE> [file:file-spec] <level-spec> Sets the state of the viewport Freeze flag for the specified level(s) in the specified file(s).
LEVEL SET DISPLAY <ON|OFF|TOGGLE> [file:file-spec] <level-spec> Sets the state of the Display flag for the specified level(s) in the specified file(s). If on, and level is not frozen, the level displays on the screen.
LEVEL SET LOCK <ON|OFF|TOGGLE> <level-spec> Sets the state of the Lock flag for the specified level(s). Elements cannot be deleted, manipulated or modified if the level is locked. As reference levels can not be locked, <FILE:FILE-SPEC> is not valid.
LEVEL SET PLOT <ON|OFF|TOGGLE> [file:file-spec] <level-spec> Sets the state of the Plot flag for the specified level(s) in the specified file(s). When on, the level will plot. When off, the level will not plot but will display.
LEVEL SET PRIORITY <new_level_priority> [file:file-spec] <level-spec> Sets the priority associated with a level. The priority can be an integral value between - 255 and 255.
LEVEL SET TRANSPARENCY <new_level_transparency> [file:file-spec] <level-spec> Sets the transparency associated with a level. The transparency can be a double value (real number) between 0 and 100.