Exercise 3: Editing and layout of schematic diagrams

Komplexität: Einsteiger Datenanforderung: ArcGIS Tutorial Data for Desktop Datenpfad: C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap Ziel: Learn about managing the editing sessions on schematic diagrams, refining their contents, and laying them out.

In this exercise, you will learn about managing the editing session on schematic diagrams, refining their content, and laying them out. The majority of the tools that are going to be used in this exercise are grouped on the Schematic Editor toolbar.

Voraussetzung:

During this exercise, you will work on schematic diagrams that were generated in exercise 2.

Schritte:
  1. Start ArcMap.
  2. Open the ElecDemo.mxd file stored in C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap.

Adding new Schematics commands on toolbars

There are some Schematics commands and tools that are not available on the standard Schematics toolbars by default, such as the Open Diagram by Diagram Template and Restore Initial Layout commands.

Since you are going to use these particular commands in the next sections, the following steps explain how to add the commands to the toolbars:

Schritte:
  1. Click Customize and click Customize Mode.

    The Customize dialog box opens.

  2. Click the Commands tab.
  3. Click Schematics in the Categories list.
  4. Click Open Diagram by Diagram Template Open Diagram by Diagram Template in the Commands list and drag it onto the Schematic toolbar.
  5. Click Restore Initial Layout Restore Initial Layout in the Commands list and drag it onto the Schematic Editor toolbar.

    Those commands can be dragged onto any toolbar, but since Restore Initial Layout requires an edit session to be open on the schematic diagram it impacts, its best location is on the Schematic Editor toolbar. Place the Open Diagram by Diagram Template on the same toolbar as the Open Schematic Diagrams command Open Schematic Diagrams icon, since it is an alternative method of opening schematic diagrams.

  6. Click Close.

Starting an editing session on a schematic diagram

Before laying out a schematic diagram or refining its content, an editing session must be started on this diagram. Editing sessions are managed schematic diagram per schematic diagram; that is, when starting an edit session while a schematic diagram is active, the editing session starts for the active diagram only.

Several schematic diagrams can be edited at the same time, but editing operations impact only the active schematic diagram. The following steps explain how to start an editing session on a schematic diagram:

Schritte:
  1. Click the Open Schematic Diagrams button Open Schematic Diagrams icon on the Schematic toolbar.

    The Select Schematic Diagrams To Open dialog box appears.

  2. Navigate to the C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap\ElecDemo.gdb geodatabase, double-click the ElecDemo schematic dataset, then double-click the Feeders schematic folder.
  3. Click the Manual Selection schematic diagram and click Add.

    The selected diagram appears in a new data frame.

    Manual Selection opened

  4. Click the Schematic Editor drop-down menu on the Schematic Editor toolbar.
  5. Click Start Editing Diagram Start Editing Diagram icon.

The editing session starts on the active schematic diagram. Tools and commands available from the Schematic Editor toolbar are automatically enabled and stay enabled until this diagram is the active one. The diagram status is locked until the editing session is stopped.

Moving schematic features

Schritte:
  1. Zoom in on the diagram to a set of schematic features. Click the Edit/Move Schematic Features button Edit/Move Schematic Elements icon and select schematic features by drawing a box with the tool.
  2. Move the selected set of schematic features by dragging it to another location.

    Manual Selection features moved

    Any editing operation is reversible until the diagram edits are saved. Clicking the Undo tool Undo icon on the Standard toolbar reverses the last editing action.

  3. Click the background of the diagram to cancel the feature selections.

Removing schematic features

Schritte:
  1. Click the Edit/Move Schematic Features button Edit/Move Schematic Elements icon and select the set of schematic features located at the top right corner on the diagram by drawing a box with the tool.

    Manual Selection features to remove

  2. Click the Schematic Editor drop-down menu on the Schematic Editor toolbar and click the Remove Schematic Features button Remove Schematic Features icon.

    The selected schematic features are removed.

    Manual Selection features removed

Saving the diagram edits and stopping the editing session

To save edits performed on an active schematic diagram, click Save Diagram Edits on the Schematic Editor drop-down menu. All the edits performed on the active schematic diagram since the edit session was opened or last saved are taken into account and saved in the schematic database.

Schritte:
  1. Click the Schematic Editor drop-down menu on the Schematic Editor toolbar.
  2. Click Save Diagram Edits Save Diagram Edits icon.

    All the editing operations that have impacted the active schematic diagram content since it was opened, such as the new geometries and removed features, are now saved.

  3. Click the Schematic Editor drop-down menu on the Schematic Editor toolbar and click Stop Editing Diagram Stop Editing Diagram icon.

    Even if schematic features that are removed or reduced in schematic diagrams are not displayed anymore in the schematic diagram, they are not removed from the schematic tables when saving. Instead, they are flagged as not displayed in the schematic database. You can restore these removed or reduced schematic features from initial features when updating the diagram with the Persist manually removed, reduced or reconnected features option on the Update Diagram dialog box. This option will be detailed in the Updating schematic diagrams exercise.

  4. Remove the Manual Selection data frame from the table of contents.

Rotating a tree

The Rotate Tree command Rotate Tree icon allows you to rotate the tree associated with any schematic feature node currently selected in a schematic diagram. The value for the rotation angle, as well as the other parameters applied by the algorithm (for example, the rotation of the tree nodes), is specified on the Rotate Tree tab of the Schematic Editing Options dialog box. This command is enabled when an editing session is opened on the active schematic diagram and there is a single node selected in the active schematic diagram. The following steps illustrate the use of this command:

Schritte:
  1. Click the Open Diagram by Diagram Template button Open Diagram by Diagram Template you added to the Schematic toolbar at the beginning of the exercise.

    The Open Schematic Diagram dialog box appears.

  2. Click the Schematic Diagram Template drop-down list and click GeoSchematic.
  3. Click Feeder 0803-Corinth Church in the Schematic Diagram Name drop-down list.

    Open Diagram by Diagram Template—Corinth

  4. Click OK.

    The diagram appears in a new data frame.

    Corinth opened

  5. Click the Schematic Editor menu and Start Editing Diagram Start Editing Diagram icon on the Schematic Editor toolbar.
  6. You must now select the schematic feature node around which the Rotate Tree command is going to operate. You will make this selection on the schematic diagram content using the Select By Attributes ArcGIS standard command.
    1. Click Selection on the main menu and click Select By Attributes Select By Attributes.

      The Select By Attributes dialog box opens.

    2. Click the Layer drop-down list and click TransformerBank.
    3. Double-click UOID in the Fields list.
    4. Click the equal sign button Equal button.
    5. Click Get Unique Values.
    6. Double-click 950 in the unique values list.

      Select By Attributes—TransformerBank 950

    7. Click Apply and click Close.

    The TransformerBank schematic feature node whose UOID is 950 is now selected in the schematic diagram.

  7. Right-click the Feeder 0803-Corinth Church schematic layer in the table of contents, point to Schematic Selection, then click Zoom To Selected Schematic Features Zoom To Selected icon.
  8. Click the Select Features tool Select Features tool icon, hold down the SHIFT key, then click the primary line located at the left of the transformer bank to select it.

    The newly selected primary line is interpreted as a barrier and prevents the Rotate Tree command from being executed beyond it. After this step, you should be in the following situation:

    TransformerBank 950 with locked link

  9. Click the Schematic Editor drop-down arrow and click Rotate Tree Rotate Tree icon.

    Rotate Tree result

    HinweisHinweis:

    The default rotation angle is 45 degrees. You can set the rotation angle by clicking Editing Options from the Schematic Editor drop-down list. Then, click the Rotate Tree tab and type a number in the Angle (degrees) text box.

  10. Click the Undo tool Undo icon to reverse the action.
  11. Click the background of the diagram to cancel the feature selections.
  12. Click Full Extent Full Extent icon on the ArcMap Tools toolbar.

Using the alignment tools

The Align Nodes tools allow you to align horizontally, vertically, or by an angle in a selected set of schematic feature nodes by moving them along the imaginary axis defined by a reference point that fixes the axis origin. The following steps explain how these alignment tools work:

Schritte:
  1. Zoom in on a part of the schematic diagram.
  2. Click the Edit/Move Schematic Features button Edit/Move Schematic Elements icon and click a node to be used as the origin node.

    This first selected node, displayed in red, is considered the reference node for the alignment operations.

  3. Hold down the SHIFT key and click two or three other schematic feature nodes currently located on different branches and levels of the hierarchical tree.

    Align Vertical Center selected nodes

  4. Click the Schematic Editor drop-down arrow, point to Align Nodes, then click Align Vertical Center Align Vertical Center icon.

    The selected schematic feature nodes move vertically to align with the reference node.

    Align Vertical Center results

  5. Click the Undo command Undo icon to reverse the action.
  6. Keep the currently selected set of schematic features, but change the reference node by holding the CTRL key and clicking one of the selected schematic feature nodes, different from the reference node.

    This newly clicked feature is displayed in red.

    Align Horizontal Center selected nodes

  7. Click the Schematic Editor drop-down arrow, point to Align Nodes, then click Align Horizontal Center Align Horizontal Center icon.

    The selected schematic feature nodes move horizontally to align with the reference node.

    Align Horizontal Center results

  8. Click the Undo command Undo icon to reverse the action.
  9. Keep the set of selected schematic feature nodes, hold the SHIFT key, then click a schematic feature link.
  10. Hold down the CTRL key and click the same schematic feature link again.

    The vertex highlighted in red on this link is now considered the reference point.

    Align Horizontal Center on vertex

  11. Click the Schematic Editor drop-down arrow, point to Align Nodes, then click Align Horizontal Center Align Horizontal Center icon.

    The selected schematic feature nodes move horizontally to align with the reference vertex.

    Align Horizontal Center on vertex results

  12. Remove the diagram data frame.
  13. Click No when the following message appears:

    Save layout dialog box

Separate overlapping nodes

The Geo - Spatial Dispatch layout algorithm separates schematic feature nodes in their current positions that are visually close to overlapping in schematic diagrams. This layout algorithm moves the schematic feature nodes independently of their degree, that is, independently of the number of links that connect the nodes and of the links to which they are connected. The Spatial Dispatch algorithm mainly works with two parameters:

The following section illustrates this layout algorithm:

Schritte:
  1. During this exercise, you need to use the My Places command. Since this command is not available by default on the ArcMap toolbars, start with the following steps:
    1. Click Customize and click Customize Mode.

      The Customize dialog box opens.

    2. Click the Commands tab.
    3. Click Generic in the Categories list.
    4. Click the My Places command and drag it onto the Tools toolbar.
    5. Click Close.
  2. Click the Open Diagram by Diagram Template button Open Diagram by Diagram Template.

    The Open Schematic Diagram dialog box appears.

  3. Click the Schematic Diagram Template drop-down list and click GeoSchematic.
  4. Click Feeder 0801-Rice Creek in the Schematic Diagram Name list and click OK.

    The diagram appears in a new data frame.

  5. Click the Schematic Editor menu and Start Editing DiagramStart Editing Diagram icon on the Schematic Editor toolbar.
  6. Click the My Places button you just added in step 1 of this set of steps.

    The My Places dialog box opens.

  7. Click the Load button.
  8. Browse to and select the SchematicFeatures_GeoSpatialDispatch.dat file, located in C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap, and click Open.
  9. Select all the items that have been added to the window and click Zoom To.

    After this step, you should be in the following situation:

    My Places ready

  10. Close the My Places dialog box.

    Note that several of the schematic feature nodes are so close that they seem to overlap.

  11. Click the Select Features tool Select Features tool icon and, by drawing a box with the tool, select everything in the current view:

    Geo - Spatial selection

  12. Click the Layout Task drop-down list on the Schematic Editor toolbar and click Geo - Spatial Dispatch.
  13. Click the Layout Algorithm Properties button Layout Algorithm Properties icon.

    The Geo - Spatial Dispatch tab is displayed on the Schematic Layout Algorithm dialog box.

  14. Type 5 in the Number of iterations text box. Keep the value set by default for the Maximum shift factor parameter. Check the Move unselected neighbor nodes check box.

    Geo - Spatial Dispatch properties

  15. Click OK.
  16. Click Apply Layout Task Apply Layout Task icon.

    Geo - Spatial results

  17. Click Undo Undo icon and click Redo Redo icon to clearly analyze the difference between the locations of the schematic features before and after algorithm execution.
  18. Click the Layout Task drop-down list on the Schematic Editor toolbar and click Geo - Initial Positions.
  19. Click Apply Layout Task Apply Layout Task icon.

    All the selected schematic features are now displayed with their initial geographic geometry.

Squaring links

The Square Links command Square Links icon computes and inserts vertices along schematic feature links' path routes so these path routes are displayed with right angles. Vertex positions are automatically inserted on link path routes and are computed according to the following:

The process takes the direction of the links into account when vertices already exist on the schematic feature links and the Preserve Path check box is checked. In that case, the vertices along the schematic feature link are each treated in turn, that is, from the first vertex displayed along the link path route to the last one.

The following section illustrates use of the Square Links command:

Schritte:
  1. Click the Select Features tool Select Features tool icon and, by drawing a box with the tool, select the same schematic features again.
  2. Click the Schematic Editor drop-down arrow and click Square Links Square Links icon.

    Square Links results

  3. Click the background of the diagram to cancel the schematic feature selections.
  4. Click the Undo command Undo icon to reverse the action.
  5. Remove the diagram data frame. Click No if the following message appears: "The diagram 'Feeder 0801-Rice Creek' has been modified. Do you want to save its layout?"

Finding overlapping links

The Find Overlapping Links analyst algorithm allows highlighting of schematic feature links contained in a schematic diagram that are overlapping. Two schematic feature links are said to overlap when they are connected to the same origin and extremity nodes, have the same number of vertices—the same number of intermediate link points—and all those vertices overlap.

The following section exemplifies the Find Overlapping Links schematic trace analysis:

Schritte:
  1. Click the Open Diagram by Diagram Template button Open Diagram by Diagram Template.

    The Open Schematic Diagram dialog box appears.

  2. Click the Schematic Diagram Template drop-down list and click InsidePlants.
  3. Click Substation 08 in the Schematic Diagram Name list and click OK.

    The diagram appears in a new data frame.

  4. Click the Trace Task drop-down list on the Schematic Network Analyst toolbar and click Find Overlapping Links.
  5. Click the Trace Task Properties button Trace Task Properties icon.

    The Find Overlapping Links properties tab is displayed on the Schematic Network Analyst Trace dialog box.

  6. Make sure the Select links option is checked.

    Find Overlapping Links properties

  7. Click OK.
  8. Click Apply Trace Task Apply Trace Task icon.

    The schematic feature links that are overlapping are selected and the diagram extent set to the extent of the trace result.

  9. Click Full Extent Full Extent icon on the ArcMap Tools toolbar.
  10. Click the List By Selection button List By Selection icon on the Table Of Contents toolbar.

    Four overlapping Inside_BusBar elements are selected.

    Find Overlapping Links result

Separating overlapping links

The Separate Overlapping Links layout algorithm separates schematic feature links that are overlapping in a schematic diagram. The algorithm applies the Offset between links parameter as specified on the Separate Overlapping Links layout algorithm properties tab. The Offset between links parameter is combined with the current symbol size of the nodes displayed in the diagram to compute the distance between two neighboring links and the distance between the origin/end node and the first/last break point that will be used during the separation process.

The following section exemplifies Separate Overlapping Links layout algorithm execution:

General case

Schritte:
  1. Click the Schematic Editor menu and Start Editing Diagram Start Editing Diagram icon on the Schematic Editor toolbar to start an editing session on this diagram.
  2. Click the Layout Task list and click Separate Overlapping Links.
  3. Click the Layout Algorithm Properties button Trace Task Properties icon to open the Schematic Layout Algorithm dialog box.
  4. Type 0.3 for the Offset between links parameter.

    Separate Overlapping Links properties

  5. Click OK.
  6. Click Apply Layout Task Apply Layout Task icon.

    The four overlapped links are separated.

    Separate Overlapping Links results

  7. Click the List By Drawing Order button List By Drawing Order icon on the Table Of Contents toolbar.
  8. Right-click the Substation 08 schematic diagram layer in the table of contents, click Schematic Selection, then click Clear Selected Clear Selected icon.

Other case

The following section also exemplifies Separate Overlapping Links layout algorithm execution but illustrates another way of working with it:

Schritte:
  1. Zoom in to the set of separated links that is displayed at the top of the diagram.
  2. Click the Select Features tool Select Features tool icon and select the topmost separated link.
  3. Click the Schematic Editor drop-down menu and click Remove Schematic Vertices Remove Schematic Vertices icon so the vertices on the link are removed.
  4. Click the Add Vertex tool Add Vertex icon.
  5. Drag a point on the topmost link to create a new vertex on it.
  6. Repeat the operation to create another vertex on that link.
  7. Click the Edit/Move Schematic Features tool Edit/Move Schematic Features icon and click the modified link.

    Another use of Separate Overlapping Links

  8. Make sure that Separate Overlapping Links is still selected in the Layout Task drop-down list.
  9. Click the Layout Algorithm Properties button Layout Algorithm Properties icon to open the Schematic Layout Algorithm dialog box.
  10. Check the Use origin links option.

    Checking this option causes the selected schematic feature link to be used as a reference link for algorithm execution. In that case, the algorithm copies the vertices that are displayed along that selected link on the other links that connect the same origin and extremity nodes and separates those links.

    Separate Overlapping Links new properties

  11. Click OK.
  12. Click Apply Layout Task Apply Layout Task icon.

    Separate Overlapping Links new result

  13. Click Schematic Editor and click Stop Editing Diagram Stop Editing Diagram icon.
  14. Click No when the following message appears: "Diagram has changed. Do you want to save the edits?"
  15. Click Full Extent Full Extent icon on the Tools toolbar.
  16. Right-click the Substation 08 schematic diagram layer in the table of contents, click Schematic Selection, then click Clear Selected Clear Selected icon.

Marking crossing links

Schritte:
  1. Click Schematic Editor and click Start Editing Diagram Start Editing Diagram icon.
  2. Click the Schematic Editor drop-down arrow and click Mark Crossing.
  3. In the Table Of Contents window, under the Substation 08 schematic layer, uncheck and check again the check box at the left of the CrossMark feature layer to clearly identify the crossings that are now highlighted.

    The next screen capture shows the mark at the identified crossings after their default symbology has been redefined so they are displayed with a blue triangle.

    Mark Crossing results

  4. Click Schematic Editor and click Stop Editing Diagram Stop Editing Diagram icon.
  5. Click No when the following message appears: "Diagram has changed. Do you want to save the edits?"
  6. Remove the Substation 08 data frame.

Enabling viewer windows and the automatic full extent after algorithm execution

You can enable the Viewer Windows running mode so that each time a diagram is opened or generated, it is automatically displayed in a viewer window without changing the active data frame. You can also enable the Full Extent After Algorithm Execution running mode so that each time a schematic layout algorithm is executed on any schematic diagram's whole content, an automatic full extent is launched at the end of algorithm execution. These running modes are enabled from the General tab on the Schematic Options dialog box:

Schritte:
  1. Click the Schematic menu on the Schematic toolbar and click Schematic Options.

    The Schematic Options dialog box opens.

  2. Click the General tab.
  3. Check Automatically open schematic diagrams in a viewer window in the Viewer Windows section.
  4. Make sure the Automatically zoom to full extent after applying a layout task on the entire diagram check box is checked in the Layout Algorithms section.

    General tab—Auto viewer and auto layout checked

  5. Click OK.

    The Schematic Options dialog box closes.

Now, each time a schematic diagram is opened or generated, it is displayed in a viewer window and the active data frame is preserved. Also, each time a schematic layout algorithm is applied on any schematic diagram's whole content, a full extent is automatically launched at the end of algorithm execution.

Using the Hierarchical - Main Line Tree algorithm

The Main Line Tree layout algorithm arranges hierarchically all the schematic feature nodes and links in the active schematic diagram along the detected main line and places the schematic features according to the parameters currently set on the Hierarchical - Main Line Tree tab. If a selected set has been defined in the active schematic diagram, the algorithm only applies to the selected schematic features. By default, when no root and end schematic feature nodes are set, the main line is the longest branch of the diagram, that is, the branch composed of the most schematic feature links.

When a schematic feature root node is set, the main line is the branch composed of the most links starting from this root. When a schematic feature end node is set, the main line is the branch composed of the links ending at this schematic feature end node. When the schematic feature root and end nodes are set, the main line is the branch composed of the most links starting from this root node and ending at this end node. In any case, the detected main line is placed as a central line, and its related branches are placed either on both sides or at the left or right side of it according to the selected Branch Placement option. In the following section, you'll learn how to operate with the Main Line Tree algorithm layout.

General case

Schritte:
  1. Click the Open Schematic Diagrams button Open Schematic Diagrams icon.

    The Select Schematic Diagrams To Open dialog box appears.

  2. Navigate to the Feeders schematic folder of the ElecDemo schematic dataset in the C:\ArcGIS\ArcTutor\Schematics\Schematics\ElecDemo geodatabase and select Feeder 0804-Harrison. Click Add.

    The diagram opens in the Viewer window.

  3. Click Schematic Editor and click Start Editing Diagram Start Editing Diagram icon on the Schematic Editor toolbar to start an editing session on this diagram.
  4. Click the Layout Task drop-down arrow and click Hierarchical - Main Line Tree.
  5. Click the Layout Algorithm Properties button Layout Algorithm Properties icon and change the Main Line Tree algorithm properties as follows:
    1. Type 6 in the Spacing section for the Between nodes perpendicular to the direction parameter.
    2. Type 20 for the Between nodes along the direction parameter.

    Main Line Tree properties

  6. Click OK.
  7. Click the Apply Layout Task button Apply Layout Task icon.

    The algorithm is applied, and an automatic full extent is launched at the end of execution.

    Main Line Tree results

  8. Click the Undo button Undo icon on the Standard toolbar to revert to the former layout.
  9. Click the Full Extent button Full Extent icon on the Viewer window.

Execution with particular root and end schematic feature nodes

Schritte:
  1. In the table of contents, under the Feeder 0804-Harrison schematic layer, right-click the Substation feature layer, click Selection, then click Select All.
  2. Right-click the Feeder 0804-Harrison schematic layer in the table of contents, click Schematic Selection, then click Zoom To Selected Schematic Features Zoom To Selected icon.
  3. Click the Zoom In tool Zoom In tool icon and zoom in to the selected substation schematic feature.
  4. Click the Edit/Move Schematic Features tool Edit/Move Schematic Elements icon and click the background of the Viewer window to deselect the substation.
  5. Make sure the Hierarchical - Main Line Tree algorithm is still selected in the Layout Task drop-down list.
  6. Click the Set Schematic Root tool Set Schematic Root icon and click the substation schematic feature node so it will be set as the root of the tree.

    It appears with a blue square:

    Main line root

  7. Specify an end node. Activate the Feeder 0804-Harrison data frame.
  8. Click Selection in the ArcMap menu and click Select By Attributes Select By Attributes.

    The Select By Attributes dialog box opens.

  9. Click the Layer drop-down list and click ServiceLocation.
  10. Double-click UOID in the Fields list.
  11. Click the equal sign button Equal button.
  12. Click Get Unique Values.
  13. Double-click 1760 in the unique values list.

    Select By Attribute—ServiceLocation 1760

  14. Click Apply and click Close.

    The ServiceLocation schematic feature node whose UOID is 1760 is now selected in the schematic diagram.

  15. Right-click the Feeder 0804-Harrison schematic layer in the table of contents, point to Schematic Selection, then click Zoom To Selected Schematic Features Zoom To Selected icon.
  16. Click the Edit/Move Schematic Features tool Edit/Move Schematic Elements icon and click the background of the Viewer window to deselect the service location.
  17. Click the Set Schematic End tool Set Schematic End icon and click the service location identified in the previous step.

    It appears with a green circle:

    Main Line end

  18. Click the Full Extent button Full Extent icon on the Viewer window toolbar to center the diagram in the window.
  19. Click the Set Schematic Root button Set Schematic Root icon to visualize the root node currently specified, then click Set Schematic End Set Schematic End icon to visualize the currently specified end schematic node.
  20. Click Apply Layout Task Apply Layout Task icon.

    Main Line Tree result 2

  21. Click Set Schematic Root Set Schematic Root icon to specify the root node as the root of the main line, then click Set Schematic End Set Schematic End icon to control the position of the end node on the main line.
  22. Click Save Diagram Edits Save Diagram Edits icon on the Schematic Editor menu on the Schematic Editor toolbar to save the current diagram layout.
  23. Click the Edit/Move Schematic Features tool Edit/Move Schematic Elements icon to disable the highlighting of the root/end node.

Restoring schematic features' initial positions

To get back to the initial layout of the features, you can execute the Geo - Initial Positions schematic layout algorithm.

Schritte:
  1. Click the Layout Task drop-down arrow and click Geo - Initial Positions.
  2. Click Apply Layout Task Apply Layout Task icon.

    All the schematic features in the diagram are restored to their initial positions.

    Feeder 0804 initial positions restored

Restoring schematic features' saved positions

Schritte:
  1. Click the Layout Task drop-down arrow and click Force Directed.
  2. Click Apply Layout Task Apply Layout Task icon.

    All the schematic features in the diagram are restored to their initial positions.

    Force Directed results

  3. Click Restore Saved Positions on the Layout Task drop-down menu.
  4. Click Apply Layout Task Apply Layout Task icon.

    The saved layout of the schematic features is restored.

Removing a schematic diagram's saved layout from the schematic database

Schritte:
  1. Click the Restore Initial Layout button Restore Initial Layout you added at the beginning of the exercise.

    The following dialog box appears:

    Restore Initial Layout prompt message

  2. Confirm the restoration of the initial layout.

    All the schematic features contained in the active diagram are restored to their initial positions. The diagram layout is removed from the schematic database. As no layout exists anymore for the diagram, the Restore Initial Layout button is unavailable.

  3. Click Full Extent Full Extent icon on the Viewer window.
  4. Click Save Diagram Edits Save Diagram Edits icon on the Schematic Editor menu on the Schematic Editor toolbar.
  5. Remove the Feeder 0804-Harrison data frame.

Detecting loops in a schematic diagram

You can identify loops on your network using the Find Loops schematic trace analyst algorithm.

Schritte:
  1. Click the Open Schematic Diagrams button Open Schematic Diagrams icon.

    The Select Schematic Diagrams To Open dialog box appears.

  2. Navigate to the Feeders schematic folder of the ElecDemo schematic dataset in the C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap\ElecDemo geodatabase and choose Feeder 0801-Rice Creek.
  3. Click the Trace Task drop-down arrow on the Schematic Network Analyst toolbar and click Find Loops.
  4. Click the Trace Task Properties button Trace Task Properties icon to open the Schematic Network Analyst Trace dialog box.
  5. Verify that the Select nodes and Select links check boxes are checked and click OK.

    Find Loops properties

  6. Click Apply Trace Task Apply Trace Task icon.

    Find Loops result

  7. Click the Full Extent button Full Extent icon on the Viewer window.
  8. Right-click the Feeder 0801-Rice Creek schematic diagram layer in the table of contents, click Schematic Selection, then click Clear Selected Clear Selected icon.

Laying out schematic diagram content around a main loop

Like there are loops in the diagram, there is an interesting way to lay out the network around the main loop by using the Main Ring layout algorithm. The Main Ring layout algorithm arranges the schematic feature nodes and links in the active schematic diagram around the main ring and lays out hierarchically the schematic feature nodes and links that connect to the detected main ring's nodes according to the parameters currently set on the Main Ring tab. The main ring is the longest loop of the schematic diagram, that is, the loop formed by the most links. If a selected set has been defined in the active schematic diagram, the algorithm only applies to the selected schematic features.

The following section illustrates how to operate the Main Ring layout algorithm. Note that detecting the loop like you've just done in the previous section is not a prerequisite for executing the algorithm. If the schematic diagram contains no loop, the Main Ring layout execution has no effect.

Schritte:
  1. Click Schematic Editor and click Start Editing Diagram Start Editing Diagram icon on the Schematic Editor toolbar to start an editing session on this diagram.
  2. Click the Layout Task drop-down arrow and click Main Ring.
  3. Click the Layout Algorithm Properties button Layout Algorithm Properties icon.
  4. In the Spacing area, type 1 for the Between nodes along the direction parameter and type 4 for Between nodes perpendicular to the direction.

    Main Ring properties

  5. Click OK.
  6. Click the Apply Layout Task button Apply Layout Task icon.

    The following screen capture shows the result obtained after the algorithm executes and the number of symbols in the diagram have been decreased for better visualization of the main loop:

    Main Ring results

  7. Click the Undo button Undo icon on the Standard toolbar to revert to the former layout.
  8. Close the Viewer window.
  9. Activate the Feeder 0801-Rice Creek data frame and click Full Extent Full Extent icon on the Tools toolbar.

Using the Orthogonal algorithm

The Orthogonal layout algorithm arranges the schematic feature nodes and links in the active schematic diagram orthogonally in a hierarchical order.

Schritte:
  1. In the table of contents, under the Feeder 0801-Rice Creek schematic layer, right-click the Substation feature layer, click Selection, then click Select All.
  2. Right-click the Feeder 0801-Rice Creek schematic layer in the table of contents, click Schematic Selection, then click Zoom To Selected Schematic Features Zoom To Selected icon.
  3. Click the Zoom In tool Zoom In tool icon and zoom in to the selected substation schematic feature.
  4. Click the Edit/Move Schematic Features tool Edit/Move Schematic Elements icon and click the background of the Viewer window to deselect the substation.
  5. Click the Layout Task drop-down arrow and click Orthogonal.
  6. Click the Set Schematic Root button Set Schematic Root icon and click the substation schematic feature node so it will be set as the root of the tree.

    It is displayed with a blue square:

    Orthogonal root node

  7. Click Full Extent Full Extent icon on the Tools toolbar.
  8. Click Layout Algorithm Properties Layout Algorithm Properties icon.

    The Orthogonal properties tab is displayed on the Schematic Layout Algorithm dialog box.

  9. Type 45 for the Counterclockwise rotation angle from vertical parameter.

    Orthogonal properties

  10. Click OK.
  11. Click the Apply Layout Task button Apply Layout Task icon.

    Orthogonal results

Using the Geo - Partial Overlapping Links algorithm

The Geo - Partial Overlapping Links algorithm (POLA) detects the collinear links or the collinear portions of links (the link segments) that overlap or nearly overlap in the active schematic diagram and separates them according to the parameters set on the Partial Overlapping Links tab. The algorithm detects and groups together the parts of link segments close to each other, more or less parallel, and having more or less the same length. Each set of segments in the schematic diagram is spread equitably on the left side and the right side of the middle of the set of segments. The distance between each segment is then equal to the Offset parameter specified on the Partial Overlapping Links tab. The process preserves the original orientation of the segments so that a segment laying on the left side of another will still end up on the left side.

The following section explains how to operate the Geo - Partial Overlapping Links algorithm layout:

Schritte:
  1. Activate the Geography data frame.
  2. Click the My Places button.

    The My Places dialog box opens.

  3. Select all the items in the list and click Remove All.
  4. Click the Load button.
  5. Browse to and select the Edges_FindOverlappingLinks.dat file located in C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap and click Open.
  6. Select all the items that have been added to the window and click Zoom To.
  7. Click the Select Features tool Select Features tool icon and select all the edges that flash when clicking the Zoom To button.

    After this step, you should be in the following situation:

    POLA flashed edges

  8. Close the My Places dialog box.
  9. Click Propagate Map Selection To Schematic Propagate Map Selection To Schematic icon.
  10. Activate the Feeder 0801-Rice Creek data frame.

    The schematic features associated with the features selected in the map are selected in the diagram.

  11. Right-click the Feeder 0801-Rice Creek schematic layer in the table of contents, click Schematic Selection, then click Zoom To Selected Schematic Features Zoom To Selected icon.

    POLA selected links

  12. Click Geo - Partial Overlapping Links in the Layout Task drop-down list and click Layout Algorithm Properties Layout Algorithm Properties icon.
    The Geo - Partial Overlapping Links tab opens on the Schematic Layout Algorithm dialog box.

    POLA properties

  13. Keep the default values and click OK.
  14. Click Apply Layout Task Apply Layout Task icon.

    POLA results

  15. Remove the diagram data frame. Click No when the following message appears: "The Diagram 'Feeder 0801 - Rice Creek' has been modified. Do you want to save its layout?"
  16. Click Selection on the main menu and click Clear Selected Features Clear Selected icon.
  17. Click Bookmarks and click Overview.

Copying a diagram layout on another diagram

Schritte:
  1. Click the Open Schematic Diagrams button Open Schematic Diagrams icon.

    The Select Schematic Diagrams To Open dialog box appears.

  2. Navigate to the Feeders schematic folder of the ElecDemo schematic dataset in the C:\ArcGIS\ArcTutor\Schematics\ Schematics\ElecDemo geodatabase and select Manual Selection. Click Add.

    The diagram opens in the Viewer window.

  3. Click Schematic Editor and click the Start Editing Diagram button Start Editing Diagram icon on the Schematic Editor toolbar to start an editing session on this diagram.
  4. Click the Layout Task drop-down arrow and click Hierarchical - Smart Tree.
  5. In the table of contents, under the Manual Selection schematic layer, right-click the ElectricNetwork_Net_Junctions feature layer, click Selection, then click Select All.
  6. Zoom in on the ElectricNetwork_Net_Junctions schematic feature node at the top of the diagram.
  7. Click the Edit/Move Schematic Features tool Edit/Move Schematic Elements icon and click the background of the Viewer window to cancel the selection.
  8. Click the Set Schematic Root tool Set Schematic Root icon and click this small ElectricNetwork_Net_Junctions schematic feature node so it is set as the root of the tree.

    Copy layout—Root on manual selection

  9. Click the Full Extent button Full Extent icon on the Viewer window.
  10. Click Layout Algorithm Properties Layout Algorithm Properties icon.

    The Hierarchical - Smart Tree properties tab is displayed on the Schematic Layout Algorithm dialog box.

  11. Check the From top to bottom option in the Direction area and click OK.
  12. Click Apply Layout Task Apply Layout Task icon.

    Copy Layout layout

  13. Right-click the Manual Selection schematic layer in the table of contents, click Schematic Selection, then click Select All Schematic Features.
  14. Click Propagate Schematic Selection To Map Propagate Schematic Selection To Map icon to visualize the associated features in the Geography data frame.
  15. Click the Open Schematic Diagrams button Open Schematic Diagrams icon, navigate to the Feeder 0802-Goldmine schematic diagram stored in the Feeders schematic folder of the ElecDemo schematic dataset, then click Add.

    The schematic diagram opens in the Viewer window.

  16. Click Propagate Map Selection To Schematic Propagate Map Selection To Schematic icon to visualize the schematic features contained in Feeder 0802-Goldmine that are associated with the same geographic features.
  17. Right-click the Feeder 0802-Goldmine schematic layer in the table of contents, click Schematic Selection, then click Zoom To Selected Schematic Features Zoom To Selected icon.

    Selected links

  18. Click the Schematic drop-down menu on the Schematic toolbar and click Clear All Diagram Selections to deselect all the schematic features currently selected in all schematic diagram layers.
  19. Right-click the Manual Selection schematic layer in the table of contents and click Copy Layout.

    The Copy Layout To dialog box opens.

    Copy Layout To dialog box

  20. Click Feeder 0802-Goldmine and click OK.

    The position of all the schematic features contained in the Manual Selection diagram are reported on the schematic features contained in Feeder 0802-Goldmine that are associated with the same geographic features.

  21. Zoom out to see that the neighboring schematic features have not been impacted.

    Copy Layout result

  22. Close ArcMap.

    The Schematics - Save Layouts dialog box opens.

  23. Click the Apply to all option and click No so that no diagram is saved.
  24. Click No again so that the .mxd file is not saved.
9/11/2013