1. Home
  2. Knowledge Base
  3. GeoHECHMS
  4. Global Editing Command

Global Editing Command

The Global Editing command allows the users to find elements, edit them in bulk, and copy them from one scenario (plan) to other existing scenarios. This command can be used for all the available HEC-HMS element types—subbasins, reaches, nodes, junctions, storage areas, diversions, sources, and sinks.

The Global Editing command is particularly useful for engineers who want to study and visualize the effects of modifications made to a model. This command enables an engineer to make more timely and accurate design decisions.

The Global Editing dropdown combo box comprises of three commands: Global Find, Global Edit, and Global Copy.

The Global Find, Global Edit, and Global Copy commands work alongside each other, allowing the user to quickly find elements that meet specific criteria and then make edits and/or copy them to other existing scenarios.

Preselecting Elements from Map View

The user can choose a collection of elements from the Map View for global editing using polygon select or click and drag commands. The user can then define the search, edit and copy criteria, and it will only be applied to the selected subset of elements.

To preselect elements using the polygon select command, hold down the [CTRL] key and click on the elements to select them. The selected elements will be highlighted.

To preselect the elements using the click and drag command, follow the steps below:

  1. Click on a point on the Map View, hold down the mouse button, and drag the cursor to another location.
  2. On releasing the mouse button, everything from the start to the end of drag will be selected (Highlighted).

Global Find

The Global Find command allows the user to find the elements that meet specific criteria.

To find the elements, follow the steps below:

  1. From the Input ribbon menu, expand the Global Editing dropdown combo box and select the Global Find command.
  2. The Global Find dialog box will be displayed.
  3. From the For all dropdown combo box, check the checkboxes corresponding to the element types to be searched. Notice that the listed element types will be those that are present in the current project.
  4. From the Property dropdown combo box, select the input or output property of the selected element type(s).
    Note that if the HEC-HMS simulation results are not available, then the output properties will not be listed.
  5. From the Current value dropdown combo box, select one of the available comparison filter operators:
    • Between
    • Not Between
    • Equal To
    • Not Equal To
    • Greater Than
    • Less Than
    • Less Than or Equal To
    • Greater Than or Equal To
      Notice that the list of comparison filter operators’ changes based on the selected property.
      The second input field is available only when the ‘between’ or ‘not between’ comparison filter operators are selected.

  6. In the value field(s), enter the value(s) to compare against.
  7. Optionally, the second condition section can be used to further narrow down the search results by including additional search criteria. Check the Condition #2 checkbox to enable this section.
  8. Select the logical connective (and / or) to define the join condition of the search results from Condition #1 and Condition #2 sections.
  9. Select the property and comparison filter operator and then provide value(s) to compare against as shown in steps 4–6.
  10. Click the [Find] button.
  11. The Elements found section will display the list of found elements.
  12. After finding the preferred element(s), the user can then select any of the listed element and click the [Zoom To] button to zoom to the extent of selected element in the Map View. This is especially useful when the model contains numerous subbasins, reaches, and junctions.
    Note that the user can also preselect elements from the Map View and then apply the Global Find command to the selected subset of elements.

Global Edit

The Global Edit command allows the user to edit common properties of elements based upon specific criteria.

To edit multiple elements, follow the steps below:

  1. From the Input ribbon menu, expand the Global Editing dropdown combo box and select the Global Edit command.
  2. The Global Edit dialog box will be displayed.
    Note that the Edit panel is disabled if there are no elements preselected on the Map View. However, the user can switch to the Find panel to select elements to be edited and then switch back to the Edit panel.
  3. From the Property dropdown combo box, select the property to be edited.
  4. From the Change by dropdown combo box, select the operation function. For numerical properties, you have an option to replace, multiply, add, subtract, or divide the existing value of the property. For non-numerical properties, only the replace option is available.
  5. Enter the value that should be replaced, multiplied, added, subtracted, or divided to the existing value for the selected element in With field. Notice that the Search for field is only available if the selected property is non-numerical. The Search for field takes the value that is to be replaced.
  6. Optionally, a second editing section can be used to make additional edits to the element set. Check the Edit action #2 checkbox to enable this section.
  7. Select the property and operation function and then specify the value(s) that should be replaced, multiplied, added, subtracted, or divided as shown in steps 3–5.
  8. Click the [Apply] button.
  9. The Status pane will display the count of modified elements.

Global Copy

The Global Copy command allows the user to copy elements from one scenario to a different (existing) scenario based upon specific criteria.

To copy elements, follow the steps below:

  1. From the Input ribbon menu, expand the Global Editing dropdown combo box and select the Global Copy command.
  2. The Global Copy dialog box will be displayed. This dialog box allows the user to copy the selected elements to a target project. The target project can be the current project or any other GeoHECHMS project currently loaded.
    Note that if there are no elements preselected on the Map View, then the Copy panel is disabled. However, the user can switch to the Find panel to select elements to be copied.
  3. From the GeoHECHMS (loaded) project dropdown combo box, select the target project where elements will be copied.
  4. From the Scenario (plan) dropdown combo box, select the preferred scenario of the target project. Notice that if the current project is selected, then the current scenario is excluded from the listing. However, when a different project is selected, then this entry defaults to the current scenario for the loaded project.
  5. Click the [Copy] button.
  6. The copy element process will start. Once the process is complete, the Status pane will display the count of copied elements.
    Note that when elements are copied, any sub-elements associated with that element are also copied automatically. Hence, the count for copied elements in the status pane might differ from selected elements.

About the Author Chris Maeder

Was this article helpful?

Related Articles