Configuring calculated representation rule properties

Configuring a calculated representation specification rule involves the following items:

You can use the Visual Specifications Advanced View dialog box to configure these items.

The Visual Specifications Advanced View dialog box

Optionally, you can also run code before and after the rule is run.

Étapes :
  1. Add a new rule if necessary.
  2. Double-click the Rule Description cell and type a description for the new rule.
  3. Click the ellipsis (...) in the Workspace cell and define the workspace.
  4. Click the Layer drop-down arrow and choose the map layer for the rule.
  5. Click the ellipsis (...) in the Rep/Field Name cell and define the Representation properties dialog box.
  6. Optionally, click the Pre Code drop-down arrow and choose the code you want to execute before the rule is run.
  7. Click the SQL Statement drop-down arrow and choose Edit SQL Statement.
  8. Define the SQL statement that defines the features to include with the rule.
  9. Optionally, click the Expression drop-down arrow and choose Edit Expression.
  10. Define the expression you want to use with the features selected in your SQL statement.
  11. Click the ellipsis (...) in the Preview cell to choose a symbol to use with the rule.

    The Representation Rule Selector dialog box appears.

  12. Choose the symbol you want to use to represent features associated with the rule.
  13. Click OK.
  14. Optionally, click the ellipsis (...) in the Explicit Override Fields cell to define override conditions for the symbol geometry.
  15. Configure the override conditions for the symbol geometry.
  16. Optionally, click the Post Code drop-down arrow and choose the code you want to execute after the rule has been run.
  17. Optionally, click Apply to save the new rule and continue working in the Visual Specifications Advanced View window.
  18. Click OK to save all changes and close the Visual Specifications Advanced View dialog box.

10/2/2010