Expand Links rule sample results

The following samples show Expand Links rule execution results on two diagrams.

Sample 1—Expanding links according to a concatenation of character values

For the diagram template implementing the following sample 1 diagram (figure 1.1), an Expand Links rule is defined to expand the red schematic feature links according to their phase code:

Diagram sample 1, initial content

These red links correspond to LV_Line links whose PhaseCode field value gives its number of phases. These string field values are a concatenation of characters such as AB, ABCD, and CD. They will be used to expand the initial red schematic feature link into several new schematic feature links so each phase corresponds to one of the new schematic feature links after the rule execution:

Expand Links rule properties page specified to expand the LV_Line schematic links according to the PhaseCode field values

Figure 1.2 shows the result obtained after the diagram updating while this Expand Links rule is active and the Separate Overlapping Links schematic layout algorithm has been executed on the schematic diagram:

Diagram sample 1, result after the Expand Links rule execution

Note that using the Identify tool Identify tool icon on any expanded link allows you to identify the initial schematic feature link:

Diagram sample 1, Identifying the 5-4-0-B schematic link and its related initial schematic link

In the same way, using the Propagate Schematic Selection To Map Propagate Schematic Selection To Map icon command while an expanded schematic feature link is selected in a diagram selects the associated edge feature in the map:

Using the Propagate Map Selection To Schematic command when the 5-4-0-B schematic link is selected in the Sample 1 diagram

Using the Propagate Map Selection To Schematic Propagate Map Selection To Schematic icon command while an edge feature is selected in the map selects all the associated expanded links in the schematic diagram:

Using the Propagate Map Selection To Schematic command when a GIS edge associated with expanded schematic links is selected in the map

If you want labels corresponding to the decoded field value used to generate each expanded link to be displayed along these links, you need to proceed as follows:

  1. Edit the Expand Links rule properties page.
  2. Type a name for the new PropertySet attribute where these values will be stored in the Name field.
    Expand Links rule properties page specified to expand the LV_Line schematic links according to the PhaseCode field values and store the decoded values in the DecodedPhaseCode propertyset property
  3. Click OK.
  4. Click View and click Project Tree on the Schematic Dataset Editor toolbar.
  5. Expand the link schematic feature class entry on the Dataset Editor tree that is specified to be expanded in the Expand Links rule properties page.
  6. Make sure that a new PropertySet attribute with the name you specified in step 1 has been created.
  7. Click this PropertySet attribute entry.
  8. Make sure its storage mode is specified as Field and its Evaluation mode is On Generate/Update.
    Checking the parameters of the DecodedPhaseCode propertyset attribute
  9. Click Save on the Schematic Dataset Editor toolbar.
  10. Start ArcMap and open any schematic diagram implemented by the diagram template on which the Expand Links rule has been configured.
  11. Open the Layers Properties dialog box from the feature layer related to the schematic feature links that are configured to be expanded.
  12. Click the Labels tab.
  13. Check Label features in this layer.
  14. Select the PropertySet attribute name from the Label Field drop-down list.
    Specifying the DecodedPhaseCode field values as labels for the expanded schematic links
  15. Click OK.

After updating the diagram to reflect the rule parameter changes, the expanded schematic feature links display with labels, each label corresponding to one value of the decoded source value:

Diagram sample 1, result after the Expand Links rule execution and DecodedPhaseCode labels are displayed

SugerenciaSugerencia:

Export the schematic diagram as a layer file and import it using the Import Default Symbology function within Schematic Dataset Editor so all diagrams based on the same diagram template display by default with labels on their expanded links.

Learn more about the Import Default Symbology function

Sample 2—Expanding links according to information coming from their extremity nodes

For the following sample 2 diagram (figure 2.1), an Expand Links rule is defined to expand all the Cables schematic links according to an attribute available from its Plants origin schematic feature nodes.

The Plants contained in this diagram support a given number of connections. This number of connections is available from a specific field stored in the Plants feature class. A custom component that implements the ISchematicExpandLinksByAttributeExtended interface has been developed to retrieve these field values from the feature class/object table so the rule can use them to expand the Cables links

Diagram sample 2, initial content

The Expand Links rule properties have been specified so the expanding operates on all the schematic features of the Cables schematic feature class.

Expand Links rule properties page specified to expand each Cables schematic link according to the MaxOutLines field value on its origin Plants schematic node

Figure 2.2 shows the result obtained after the diagram updating while this Expand Links rule is active and after the Separate Overlapping Links schematic layout algorithm has been executed.

Diagram sample 2, result after the Expand Links rule execution

Temas relacionados


7/11/2012