1. Home
  2. Knowledge Base
  3. GeoHECHMS
  4. Selection Sets
  1. Home
  2. Knowledge Base
  3. GeoHECRAS
  4. Selection Sets

Selection Sets

Selection sets are groups of elements (i.e., a subset of the entire network model) that have been selected by the user and saved in the project. A selection set allows the user to recall the selected elements later in order to perform some sort of operation. For example, the user might create a selection set of representative junctions to perform a fire flow analysis.

In CivilGEO, the Selection Set ribbon menu allows the user to open the existing selection sets, define new selection sets, edit the saved selection sets, and merge the selected selection sets. The Selection Set ribbon menu contains four commands:

  1. Open Selection Set
  2. Save Selection Set
  3. Edit Selection Set
  4. Merge with Selection Set

These commands can be used for all the available HEC-HMS/HEC-RAS element types – diversions, junctions, nodes, reaches, sinks, sources, storage areas, and subbasins.

Opening a Saved Selection Set

The Open Selection Set command allows the user to load a previously saved selection set.

To open the saved selection set, follow the steps below:

  1. From the Input ribbon menu, click the Selection Set dropdown menu and then select the Open Selection Set command.
    Open Selection Set Input ribbon menu command
  2. The Open Selection Set dialog box will be displayed.
    Open Selection Set dialog box

The following sections describe the Open Selection Set command and how to interact with the above dialog box.

Selecting a Selection Set

The Choose Selection Set section contains a data grid listing all the existing selection sets in the model. The user can select any selection set in the data grid to load them on the Map View.

The user can select the selection set in one of the following ways:

  • Click any of the selection sets in the data grid, the command will select those selection set elements and highlight them on the Map View. Note that the dialog box still appears and the user can select another selection set.
  • Double-click any element of the selection set in the data grid and the selected selection set elements will be highlighted on the Map View. Note that the dialog box will be closed on double-clicking the selection set.
  • Select any of the selection sets in the data grid and click the [Select] button. The selected selection set elements will be highlighted on the Map View. Note that the dialog box will be closed on clicking the [Select] button.
    [Select] buttonNote that the [Select] button is enabled only when any one of the listed selection sets is selected.

Deleting a Selection Set

This section allows the user to delete the selection set listed in the Choose Selection Set data grid.

To delete a selection set, follow the steps below:

  1. Select the selection set that you want to remove.
  2. Click on the [Delete] button.
    [Delete] buttonNote that this button is enabled only when any one of the listed selection sets is selected.
  3. The Confirm Deleting Selection Set dialog box will be displayed.
    Confirm Deleting Selection Set dialog box
  4. Click the [Delete] button and the selected selection set will be deleted.

Saving a Selection Set

The Save Selection Set command allows the user to define and save the currently selected elements to an element selection set.

To save the selection set, follow the steps below:

  1. From the Input ribbon menu, click the Selection Set dropdown menu and then select the Save Selection Set command.
    Save Selection Set Input ribbon menu command
  2. The Save Selection Set dialog box will be displayed.
    Save Selection Set dialog box

The following sections describe the Save Selection Set command and how to interact with the above dialog box.

Selecting Elements

The Select elements entry field allows the user to manually select elements from the Map View. Click the [Pick] button and the Selection Sets dialog box will temporarily disappear. A prompt will be displayed on the status bar instructing the user what to do next. The user can then select elements from the Map View. While selecting elements, the user can use the [Shift] key to deselect any previous element selection. Once finished, press the [Enter] key or right-click and select Done from the displayed context menu. The dialog box will be redisplayed, and the total number of selected elements will be displayed in the Select elements entry.
Select elements read-only entry

The user can click the [Clear] button to deselect the selected elements from the selection set and redo the entire process.

Note that the user can also preselect the elements from the Map View before running this command. If the elements were preselected on the Map View, the number of selected elements will be displayed in the Select elements entry.

Element Type

The Element type dropdown combo box option allows the user to select the type of elements for the selection set. The following elements are provided in the dropdown combo box.
Element type dropdown combo box option

Notes:

  • If the user has selected a similar type of element from the Map View, then this dropdown combo box will list the type of element selected.
  • If the user has selected a mixture of element types from the Map View, then this dropdown combo box will list All Element Types.

After selecting elements from the Map View, the user can further refine the selection set. For example, suppose that the user has selected a mixture of element types and the dropdown combo box lists these as All Element Types. The user can then choose Junctions element in the dropdown combo box and select junctions on the Map View. The element count in the Select elements entry will then reflect only the selected junctions. Again, if the user has chosen Reaches in the dropdown combo box, the element count in the Select elements entry will then update to reflect only the selected reaches.

Selection Set Name

The Selection set name entry field allows the user to provide the name for the selection set. After entering the name, click the [Save] button. The selection set is then saved to the project database.

Note that each defined selection set must have a unique name. Otherwise, the following confirmational dialog box will be displayed by clicking the [Save] button.
Confirm Overwriting Existing Selection Set dialog box

Adding & Removing Selection Set Elements

The Edit Selection Set command allows the user to add and remove elements contained in the already defined selection set.

To edit the selection set, follow the steps below:

  1. From the Input ribbon menu, click the Selection Set dropdown menu and then select the Edit Selection Set command.
    Edit Selection Set Input ribbon menu command
  2. The Edit Selection Set dialog box will be displayed.
    Edit Selection Set dialog box

The following sections describe the Edit Selection Set command and how to interact with the above dialog box.

Existing Selection Set

The Existing selection set dropdown combo box allows the user to select the selection set to edit. The dropdown combo box lists all the selection sets that are available in the project.

Element Type

The Element type read-only field lists the element type(s) contained within the selection set.

For example, if the selection set contains a junction element, then this read-only field will display the Junction. If the selection set contains a mixture of elements, then this read-only field will display All Elements.

Add/Remove Elements

The Add/remove elements read-only field will display the number of elements contained within the selected selection set. Click the [Pick] button to select elements from the Map View to add or remove from the selection set. Clicking on the [Pick] button causes the Selection Sets dialog box to temporarily disappear, and all the elements contained within the selection set will be highlighted on the Map View. The user can then add and remove elements from the selection set by interactively selecting elements on the Map View. While selecting elements, the user can use the [Shift] key to deselect any previous element selection. Once finished, press the [Enter] key or right-click and select Done from the displayed context menu. The dialog box will be redisplayed, and the total number of selected elements will be displayed in the Add/remove elements entry.
Add/remove elements read-only entry

The user can click the [Clear] button to deselect the selected elements from the selection set and redo the entire process.

When all the options have been properly defined, click the [Save Changes] button, and the software will update the selected selection set in the project.

Merging a Selection Set

The Merge with Selection Set command allows the user to merge the currently selected elements into a single selection set.

To merge the selection sets, follow the steps below:

  1. From the Input ribbon menu, click the Selection Set dropdown menu and then select the Merge with Selection Set command.
    Merge with Selection Set Input ribbon menu command
  2. The Merge Selection Set dialog box will be displayed.
    Merge with Selection Set dialog box
  3. From the First selection set dropdown combo box, select the first selection set.
    Note that the dropdown combo box displays only those selection sets that have already been created in the current project.
  4. From the Second selection set dropdown combo box, select the second selection set.
    Note that the dropdown combo box does not display the selection set selected in the First selection set dropdown.
  5. Provide a name to the merged selection set in the Selection set name input field.
  6. Click the [Merge] button.
    [Merge] buttonNote that the [Merge] button is enabled only when the selection sets are selected in the First and Second selection set dropdown combo boxes.
  7. On clicking the [Merge] button, the Merge Selection Sets confirmation dialog box will be displayed.
    Merge Selection Sets confirmation dialog boxClick the [Yes] button to merge the selected selection sets into a single selection set.
    Click the [No] button to abort the merge operation.
  8. Click the [Close] button to close the dialog box.

About the Author Chris Maeder

  • Was this helpful?
  • YesNo

Was this article helpful?

Related Articles