Style Rules use expressions to specify criteria that determine which styles will be applied to individual features in a feature class, based on the values of a data source property or model property you specify.
Click Manage Display .
In the Style Rules Panel, click the tab for the desired feature class to style. The tabs are on the left side of the Style Rules panel. For example, to create a rule for buildings, click the Buildings tab.
Click to create a new style rule. When prompted, enter a name for this style rule, for example, "Red Brick Buildings." After clicking OK, the new style name appears in the Rule Editing window.
Select the new style rule and click or double-click it to open the Rule Editor. Optionally, enter a description for the style.
Click under the Expression field. In the Create Filter Expression dialog box, create an expression to filter the features you wish to style, then click OK.
In the Rule Editor, click to display the Select Style dialog box. Select the style you want. Features that meet the criteria of the expression you created for this style rule will use the style you specify.
When you are finished with this rule, click OK.
Feature Class | Style Rule Expression | Result |
---|---|---|
Buildings | BUILDING_COMPLEX_ID = Downtown Hospital Complex OR BUILDING_COMPLEX_ID = Uptown Hospital Complex | Use the designated style for any building that is part of one of these hospital complexes. |
Roads | LANES_BACKWARD > 2 AND LANES_FORWARD > 2 | Use the designated style for roads that are two lanes or more in both directions. |
Pipes | LOCATION:INSIDE:CIRCLE.ID1 Note: The syntax for this type of expression is inserted automatically when you draw the circle. | Use the designated style for pipes within the circle you draw on the model. |