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 for performing 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, and edit the saved selection sets. The Selection Set ribbon menu contains three commands:

  1. Open Selection Set
  2. Save Selection Set
  3. Edit Selection Set

These commands can be used for all the available HEC-HMS 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 highlighted 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 set 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 of the listed selection set 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 of the listed selection set 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

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, the user has selected the 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 on 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.

The user can click the [Close] button to close the dialog box.

About the Author Chris Maeder

  • Was this Helpful?
  • YesNo

Was this article helpful?

Related Articles