Exercise 3: Editing and layout of schematic diagrams

Complejidad: Principiante Requisitos de datos: Configuración de datos de tutorial de ArcGIS Ruta de datos: C:\ArcGIS\ArcTutor\Schematics\Schematics_In_ArcMap Objetivo: Learning 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.

Requisito previo:

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

Pasos:
  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 in the standard Schematics toolbars by default, such as the Restore Initial Layout and the Open Diagram by Diagram Template commands.

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

Pasos:
  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 and dropped onto any toolbar, but since the Restore Initial Layout requires an edit session to be opened 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 edit 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 only starts for this active diagram.

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

Pasos:
  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 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 icon Start Editing Diagram.

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

Pasos:
  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 and dropping it at 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

Pasos:
  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 icon Remove Schematic Features menu item.

    The selected schematic features are removed.

    Manual Selection - features removed

Saving the diagram edits and stopping the editing session

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

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

    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 icon Stop Editing Diagram.

    Even if schematic features that are removed or reduced in schematic diagrams are not displayed any more in the schematic diagram, they are not removed from the schematic tables during the diagram saving operation. They are flagged as undisplayed in the schematic database. You can restore these removed or reduced schematic features when updating the diagram from initial features 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 Properties dialog box. This command is enabled when an edit session is opened on the active schematic diagram and there is a single node selected in the active schematic diagram. The following steps illustrate this command:

Pasos:
  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 Schematic Editor and the Start Editing Diagram menu 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. This selection is going to be operated using the Select By Attributes ArcGIS standard command on the schematic diagram content.
    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 the Schematic Selection menu item, then click Zoom To Selected icon Zoom To Selected Schematic Features.
  8. Click the Select Features tool Select Features tool icon, hold down the SHIFT key, then click the PrimaryLine located at the left of the TransformerBank to select it.

    The newly selected PrimaryLine will be 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 icon Rotate Tree.

    Rotate Tree result

    NotaNota:

    The default rotation angle is 45 degrees. You can set the rotation angle by clicking Editing Properties from the Schematic Editor drop-down arrow. 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 Tools ArcMap 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:

Pasos:
  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 icon Align Vertical Center.

    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 displays in red.

    Align Horizontal Center - selected nodes

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

    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 and hold the SHIFT key then click a schematic feature link.
  10. Hold down 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 icon Align Horizontal Center.

    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:

    Do you want to save

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 algorithm layout moves the schematic feature nodes independently of their degree, that is, independently of the numbers of links that connect the nodes and independently of the links to which they are connected. The Spatial Dispatch algorithm mainly works with two parameters:

The following section illustrates this algorithm layout.

Pasos:
  1. During this exercise, you need to use the My Places command. Since this command is not available by default in 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 Schematic Editor and the Start Editing Diagram menu Start Editing Diagram icon on the Schematic Editor toolbar.
  6. Click the My Places button you have just added in step 1.

    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:

    Selection Geo-Spatial

  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 properties page displays on the Schematic Layout Algorithm dialog box.

  14. Type 5 in the Iterations number text box. Keep the value set by default for the Maximum shift distance parameter. Check the Move unselected neighbor nodes check box.

    Geo - Spatial Properties

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

    Geo - Spatial results

  17. Click Undo Undo icon, then click Redo Redo icon to clearly analyze the difference on the location of the schematic feature before and after the 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 the Square Links command.

Pasos:
  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 icon Square Links.

    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 analyst.

Pasos:
  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 page displays on the Schematic Network Analyst Trace dialog box.

  6. Make sure the Select links option is checked in the Find Overlapping Links properties page.

    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 Tools ArcMap toolbar.
  10. Click the List By Selection button List By Selection icon in the Table Of Contents toolbar.

    Four overlapped Inside_BusBar have been 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 page. 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 the Separate Overlapping Links layout algorithm execution.

General case

Pasos:
  1. Click Schematic Editor and the Start Editing Diagram menu 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 in the Table Of Contents toolbar.
  8. Right-click the Substation 08 schematic diagram layer in the Table Of Contents, then click Schematic Selection and click Clear Selected icon Clear Selected.

Other case

The following section exemplifies the Separate Overlapping Links layout algorithm execution. The next steps illustrate another way of working on the Separate Overlapping Links schematic algorithm layout.

Pasos:
  1. Zoom in to the set of separated links that are 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. Click and drag a point on this 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 that modified link.

    Separate Overlapping Links - other case

  8. Make sure that the 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 the 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 icon Stop Editing.
  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, then click Schematic Selection and click Clear Selected icon Clear Selected.

Marking crossing links

Pasos:
  1. Click Schematic Editor and click Start Editing Diagram icon Start Editing Diagram.
  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 shot shows the mark at the identified crossings after their default symbology has been redefined so they display with a blue triangle.

    Mark Crossing - results

  4. Click Schematic Editor and click Stop Editing Diagram icon Stop Editing.
  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 the viewer windows mode 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 the algorithm execution. These running modes are enabled from the General tab on the Schematic Options dialog box:

Pasos:
  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.

From now, each time a schematic diagram is opened or generated, it will be displayed in a viewer window, and the active data frame will be preserved; each time a schematic layout algorithm is applied on any schematic diagram's whole content, a full extent will be automatically executed at the end of the 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

Pasos:
  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 a viewer window.

  3. Click Schematic Editor and click the Start Editing Diagram menu 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 algorithm properties as follows:
    1. Type 6 for the Spacing between nodes perpendicular to the direction.
    2. Type 20 for the Spacing between nodes along the direction.

    Main Line properties

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

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

    Main Line 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

Pasos:
  1. In the Table Of Contents, under the Feeder 0804-Harrison schematic layer, right-click the Substation feature layer and 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 iconZoom To Selected Schematic Features.
  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, then 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 the Schematic Selection menu item, then click Zoom To Selected icon Zoom To Selected Schematic Features.
  16. Click the Edit/Move Schematic Features tool Edit/Move Schematic Elements icon and click the background of the viewer window to deselect the ServiceLocation.
  17. Click the Set Schematic End tool Set Schematic End icon and click the ServiceLocation identified at 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 icon Set Schematic End to visualize the currently specified end schematic node.
  20. Click Apply Layout Task Apply Layout Task icon.

    Main Line - result 2

  21. Click Set Schematic Root Set Schematic Root icon to control 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 icon Save Diagram Edits 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' geo - initial positions

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

Pasos:
  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 position:

    Feeder 0804 - Geo Initial positions restored

Restoring schematic features' saved positions

Pasos:
  1. Click the Layout Task drop-down arrow, then click Force Directed.
  2. Click Apply Layout Task Apply Layout Task icon.

    All the schematic features in the diagram are restored to their initial position:

    Force Directed results

  3. Click Restore Saved Positions in 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

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

    The following dialog box displays:

    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 has been removed from the schematic database. As no layout exists any more 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 icon Save Diagram Edits 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.

Pasos:
  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 select 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 Trace Task Properties 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, then click Schematic Selection and click Clear Selected icon Clear Selected.

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.

Pasos:
  1. Click the Schematic Editor and click the Start Editing Diagram menu 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, then 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 shot shows the result obtained after the algorithm execution and the symbols in the diagram have been decreased for a 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 arranges the schematic feature nodes and links in the active schematic diagram orthogonally in a hierarchical order.

Pasos:
  1. In the Table Of Contents, under the Feeder 0801-Rice Creek schematic layer, right-click the Substation feature layer and 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 icon Zoom To Selected Schematic Features.
  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 Set Schematic Root icon button and click the Substation schematic feature node so it will be set as the root of the tree.

    It displays 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 page displays on the Schematic Layout Algorithm dialog box.

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

    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 layout algorithm 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.

Pasos:
  1. Activate the Geography data frame.
  2. Click the My Places button you added in step 1.

    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 are flashed-in 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 icon Zoom To Selected Schematic Features.

    POLA selected links

  12. Click Geo - Partial Overlapping Links in the Layout Task drop-down list and click Layout Algorithm Properties icon Layout Algorithm Properties so the Geo - Partial Overlapping Links properties page opens on the Schematic Layout Algorithm dialog box. Keep the parameters default values.

    POLA - Properties

  13. 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 icon Clear Selected Features.
  17. Click Bookmarks and click Overview.

Copying a diagram layout on another diagram

Pasos:
  1. Click the Open Schematic Diagramsbutton 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 a viewer window.

  3. Click Schematic Editor and click the Start Editing Diagram icon Start Editing Diagram menu 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 Electric_Network_NetJunctions 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 page displays in 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 a 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 icon Zoom To Selected Schematic Features.

  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 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 neighbored 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.

7/11/2012