Operating Collapse Related Features rules

Voraussetzung:

Before configuring a Collapse Related Features rule, you must check that the node schematic feature class required for the rule execution already exists in the schematic dataset and is associated with the schematic diagram template on which the rule is going to be specified.

Collapse Related Features rules allow you to get schematic diagrams in which all schematic features that are related to some particular parent nodes implemented by a given node schematic feature class have been collapsed and after the links that connected these collapsed schematic features have been reconnected on their parent nodes so the topology is preserved. The collapsed features are schematic features in relation to the parent schematic nodes. These relations result from a Relationship rule, a Spatial Query rule, or relations stored in the schematic dataset that have been specified using the PEN and PTN predefined attributes.

The collapsed schematic features are the schematic links and nodes related to the specified parent schematic nodes, and they will be hidden in the final diagram generated. You can choose to collapse the schematic features related to all nodes of the specified parent node schematic feature class or only the schematic features related to some specific parent schematic nodes that have been filtered out via the following:

For example, the rule can only collapse (1) the schematic features related to parent nodes that verify particular field values, (2) related schematic features for which parent nodes verify a particular property value detected by a function code, or (3) schematic features related to parent nodes that verify these two types of criteria at the same time.

HinweisHinweis:

If no schematic feature is related to the specified parent node schematic feature class, the Collapse Related Features rule has no effect.

The steps below focus on the configuration of the Collapse Related Features Rule Properties page that displays when clicking the Rule Properties button on the Rules tab toolbar while such a Collapse Related Features rule has already been added to that tab. To learn about how to add any new rule item in that Rules tab and display the Rule Properties page, read the Specifying a schematic rule on a schematic diagram template topic.

For a Collapse Related Features rule that has just been added in the Rules tab, clicking the Properties rule icon Rule Properties button on the Rules tab toolbar opens the Rule Properties dialog box as follows:

Collapse Related Features Rule Properties Page

Schritte:
  1. Type a description for the rule in the Description field.

    This description string will display in the Rules tab for the related rule item and will also display during schematic diagram generations and updates to inform users that the rule is being executed.

  2. Select the name of the parent node schematic feature class from the Select the parent node schematic feature class drop-down list.

    Only the node schematic feature classes associated with the schematic diagram template are available from this drop-down list.

    At this step of the rule configuration, all the features related to all the nodes implemented by that parent node schematic feature class are configured to be collapsed.

  3. If you want to specify a SQL filter on the parent nodes so that only certain ones have their related schematic features collapsed do the following:
    1. Click the Edit button at the right of the SQL Filter on associated feature/object class area.

      The SQL Query dialog box opens.

    2. Build the SQL expression you want.

      The filtering operates on the fields stored on the feature class or object class that is associated with the specified parent node schematic feature class.

    3. Click OK.

      The SQL Query dialog box closes, and the SQL filter you have just specified automatically displays in the SQL Filter on associated feature/object class area.

    The specified SQL filter will then be used to determine the subset of parent schematic nodes for which the related schematic features will be collapsed. For those that don't verify the SQL filter, their related schematic features will not be collapsed during the rule execution.

  4. If you want to use a specific extended criteria, do the following:
    1. Check the Use extended criteria box.
    2. Select the desired extended criteria from the drop-down list.

    An extended criteria for the Collapse Related Features rule is a component that implements the esriSchematic.ISchematicCollapseRelatedElementsExtended interface.

    HinweisHinweis:

    The Use extended criteria drop-down list and the Use extended criteria check box are unavailable when no custom collapse extended criteria are registered on the computer in the ESRI Schematic Rules Extended Criteria category.

    The extended criteria component works from the parent nodes candidate to the collapsing—that is, the set of parent nodes resulting from the options that have been specified in steps 2 and 3. Then, based on its own criteria, it decides for each candidate node if its related schematic features are going to be collapsed or not during the rule execution.

  5. Check the Keep vertices option if you want the vertices displayed along the links that connect the related schematic features to be kept when these links are reconnected to the parent schematic nodes to preserve the topology.
  6. Click OK to close the Rule Properties dialog box.

Verwandte Themen

9/11/2013