MicroStation CONNECT Edition Help

Condition Editor Dialog

Used to create conditions for display rules.
You can access this dialog from the following:
  • Display Rules dialog: click the Condition cell in the list box
SettingDescription
Description Adds description to the condition. This description displays in the Condition cell in the Display Rules dialog's list box. By default, the description is the condition that you set. You can overwrite the default description.
Add new criterion
Creates a new criterion. You can select a property from the picker next to the icon.
Clicking the drop-down list opens the following host property types:
  • Element - Contains properties of elements or associated items such as element color, area, thickness, and so on.
  • View - Contains properties of the view or associated items such as display style, camera position, view index, and so on.
  • Model - Contains model or associated item properties such as model name, description, annotation scale, and so on.
  • Reference - Contains reference or associated item properties such as reference attachment file name, model name, level, and so on.
  • File - Contains file or associated item properties such as file name, file size, revision number, and so on.

Each host property type contains one or more types. These types depend on the content of file. For example, if your file contains design, drawing, and sheet models, the Model host property type lists all three model types. If your file contains only design models, the Model host property type lists only the design model. Expanding each type lists different categories of properties. Further expanding the categories, you get the list of properties. You can also search for a particular property using the Search field.

Some properties called, struct properties contain nested properties. Such properties can be expanded to select the nested properties.

Each type inside a host property type contains two special properties, namely, Is Type and Is Not Type. These properties define the condition whether the selected type is available or not available respectively.

Depending on the property selected, additional drop-downs may be displayed for selecting comparison operators and setting the values or properties. For example, if you select the level property of an element, you will get two drop-down options. One will list the comparison operators and the other will list all the levels.
The comparison operator drop-down list has following special options:
  • Is Set, and Is Not Set - These create a condition to check if the selected property is set or not set respectively.
  • Resolves To and Does Not Resolve To - These options are available for the Color, Line Style, and Line Weight host properties. If you select one of these comparison operators, the level symbology of the element is compared with the value defined in the condition. For example, say you select the host property ELEMENT.Elements.Color, set the comparison operator to Resolves To, and set the color value to "1". Now if an element’s color is set to ByLevel, then the Condition Editor will check the level associated with the element and compare the level color with color "1". If the level color resolves to color "1", the element will pass this criterion.
Show all available types
Lists all available types, including custom item types.
Toggle between value and property comparison
If on, you can add additional criteria to compare with the exiting criteria. If off, you can compare the existing criteria with a value.
Select multiple criteria to group (Available only when you have three or more criteria in a condition) Allows you to select more than one criterion for grouping.
Group selected criteria
(Available only when you select two or more Select multiple criteria to group check boxes) Groups the selected criteria. For more details, see Criteria based grouping.
Delete criteria


Deletes the criteria.