1. Home
  2. Knowledge Base
  3. GeoHECHMS
  4. Trim Polylines Command
  1. Home
  2. Knowledge Base
  3. GeoHECRAS
  4. Trim Polylines Command

Trim Polylines Command

In CivilGEO software, the Trim Polylines command cuts and deletes selected portions of one or more selected polylines at the intersection with a drawn polyline or selected polyline.

Note that this command can only be used for the drawing elements. It cannot be used for the HEC-RAS and HEC-HMS entities.

The following examples illustrate how the Trim Polylines command can be used to trim the selected portions of the polylines.

Example 1

A polyline can be one of the trimming polylines and one of the polylines being trimmed. In the following light fixture example, the circle is a trimming polyline for the construction polylines and is also being trimmed.
Trim Polylines Example 1

Example 2

When trimming several objects, the different selection methods can assist the user in choosing the trimming polylines and polylines to trim. In the following example, the trimming polylines are selected using a crossing selection.
Trim Polylines Example 2

Example 3

Polylines can be trimmed to their nearest intersection with other polylines. In the following example, walls are trimmed so that they intersect smoothly.
Trim Polylines Example 3

This article explains how to use the Trim Polylines command in CivilGEO software.

From the Map Edit ribbon menu, select the Trim Polylines command and the Trim Polylines dialog box will be displayed.
Trim Polylines dialog box

The following sections describe how to use the Trim Polylines command and interact with the above dialog box.

Defining Trim Polyline

The Define Trim Polyline section allows the user to define a polyline that should be used in the Trim Polylines command. The user can define a polyline to be trimmed by either drawing a new trim polyline or by selecting the previously drawn polyline from the Map View.

Drawing Trim Polyline

The Draw trim polyline radio button option allows the user to interactively draw a single trim polyline on the Map View.

Follow the steps below to draw a trim polyline on the Map View:

  1. Select the Draw trim polyline radio button option and then click the [Draw] button.
    [Draw] button
  2. The Trim Polylines dialog box will temporarily disappear, and a prompt will be displayed on the status bar instructing the user on what to do next.
  3. Draw a trim polyline on the Map View. While drawing a polyline, the user can use the [Ctrl] key to switch between linear and curvilinear digitizing. Refer to this article in our knowledge base to learn more about drawing elements on the Map View.
  4. After drawing a trim polyline, press the [Enter] key or right-click and select Done from the displayed context menu.
  5. The dialog box will be redisplayed, and the status of the Draw trim polyline read-only field will be changed from Not Drawn to Drawn as shown below.
    Draw trim polyline read-only field

Selecting Trim Polyline

The Select trim polyline radio button option allows the user to select an existing polyline from the Map View as a trim polyline. Note that only one polyline can be selected at a time.

Follow the steps below to select a trim polyline from the Map View:

  1. Choose the Select trim polyline radio button option and then click the [Pick] button.
    [Pick] button
  2. The Trim Polylines dialog box will temporarily disappear, and a prompt will be displayed on the status bar instructing the user on what to do next.
  3. Select a trim polyline for trimming polylines from Map View.
  4. After clicking a polyline, the dialog box will be redisplayed, and the status of the Select trim polyline read-only field will be changed from Not Selected to Selected, as shown below.
    Select trim polyline read-only field

Selecting Polylines to Trim

The Select Polylines to Trim section allows the user to manually select the existing polylines to be trimmed from the Map View. Note that this section is enabled only when the user has defined a trim polyline in the Define Trim Polyline section.

Follow the steps below to select polylines to be trimmed:

  1. Click the [Pick] button.
    [Pick] button
  2. The Trim Polylines dialog box will temporarily disappear, and a prompt will be displayed on the status bar instructing the user on what to do next.
  3. Select polylines to be trimmed from the Map View.
  4. After selecting the trim polylines, press the [Enter] key or right-click and select Done from the displayed context menu.
  5. The Trim Polylines dialog box will be redisplayed, and the total number of selected polylines will be shown in the Pick polylines read-only field as shown below.
    Pick polylines read-only fieldNote that if polylines have been preselected before running this command, the same number of selected polylines will be displayed in the Pick polylines read-only field.
  6. The user can click the [Clear] button to cancel all the previous selections and redo the entire process.

Trimming Polylines

Once the options have been properly defined in the Trim Polylines dialog box, click the [OK] button.
[OK] button

A prompt will be displayed on the status bar instructing the user to select the side of the polylines to be trimmed (i.e., removed). After clicking on a polyline, the side that is clicked on will be displayed in a red color. Now, press the [Enter] key or right-click and select Done from the displayed context menu. The selected polylines will be trimmed to the specified cutting edges.

About the Author cxscvlgeo

  • Was this helpful?
  • YesNo

Was this article helpful?

Related Articles