Reverse Line Command

Reverse Line

COMMAND LICENSING AND DEFAULT MENU LOCATIONS
  • The Reverse Line command is part of the RPS Data Prep Toolbox.
  • The command is located on the Data Prep macros menu ribbon.
  • The command is located in the Modify menu group.
COMMAND DESCRIPTION

Reverses the direction of the selected linestrings, CAD lines, or polylines based on different methods. Line drawing direction can be displayed or set by the following methods:

  • Default (drawn direction)
  • Closed (Clockwise or Anti-clockwise)
  • Reference Line (Toward/Away or Forward/Reverse)
  • Uphill/Downhill
COMMAND HISTORY

Update: September 1, 2022 - v5.70r06

Corrected a defect reported where some complex closed multi-segment lines were not reporting Clockwise/anti-clockwise correctly.

Last Updated: August 2, 2022 - v5.70r05

Added multiline selection in place of single line selection so that any number of lines can be selected and reviewed and modified based on the new and additional criteria

Added the Closed, Reference Line and Uphill/Downhill methods to control the drawing direction of lines.

Added Command Tips to the dialog for user assistance.

VIDEO DEMONSTRATION

The following video shows how to utilize the Reverse Line command:

SETUP AND CONFIGURATION

Command Interface Description

The Reverse Line command dialog looks as follows:

Select mode:

There are now four modes that you can use to determine the line drawing direction.

Default mode:
In this mode the line direction is the direction in which the line is drawn (start to finish). Select the line(s) and then click Apply to make the change. The selected line(s) simply change their line drawing direction e.g. from Left / Right to Right / Left.

Closed mode:
In this mode, only lines that have the closed status property will be selected. The line direction of a closed line can be clockwise or anticlockwise. Select the mode required and then click Apply to action the change.

Reference line mode:
In this mode the line direction is derived in relation to a selected reference line or alignment. The line direction can be Toward, Away, Parallel, or Antiparallel (forward/reverse direction of the selected reference line) to the reference line. The start and end point of the selected line(s) are used to define how the line relates to the selected line, i.e., for multi-segment lines, the closest end of the selected line to the reference line will determine the Toward / Away direction. Select the reference line, the lines to adjust, and then the mode and click Apply to make the changes.

Uphill / Downhill mode:
In this mode the line direction is derived from the predominant slope of the selected lines. The predominant slope is derived from the start and end points of the selected lines, i.e., if the first point is lower than the last point, the slope is uphill from start to end of line. In the case of multi-segment lines, the same applies, so even if some segments are uphill and some are downhill, the start and end points of the line define the line drawing direction.

Color of Lines to be Reversed:
The color shown here is the color defined in RPS Settings - Highlight colors for the Primary Highlight Color. Click the color bar to open the RPS Settings - Highlight Color settings to modify the color if required. This color is used to highlight the lines that will be reversed using the current mode of reversal.

You can also set the highlight lineweight for this color in the RPS Settings dialog.

Color of Lines to Remain Unchanged:
The color shown here is the color defined in RPS Settings - Highlight colors for the Secondary Highlight Color. Click the color bar to open the RPS Settings - Highlight Color settings to modify the color if required. This color is used to highlight the lines that will be ignored using the current mode of reversal.

You can also set the highlight lineweight for this color in the RPS Settings dialog.

EXECUTE

Select lines:
Select the line or lines that you want to review/modify. The lines will display the direction arrows indicating the current line directions based on the current method selected. Tap the Apply button to reverse the lines and see the results of the changes. The arrows on the selected lines will update to show the updated line direction.

Review / Results:

Updates and displays the lines that are being reversed.

INPUTS

Select Lines:

Select the Linestrings, CAD Lines, or Polylines that you wish to review or reverse.

Select Mode:

Select the method used to determine the drawing direction of the selected lines. Available options include Default, Closed, Reference Line, and Uphill / Downhill.

Default Mode:

Reverses the current drawing direction of the selected lines.

Closed Mode:

Select Clockwise or Anticlockwise to define the direction of closed lines.

Reference Line Mode:

Select a reference line or alignment and choose Toward, Away, Parallel, or Antiparallel to determine the direction of the selected lines relative to that reference.

Uphill / Downhill Mode:

Select whether the lines should run uphill or downhill based on the elevations of their start and end points.

Color of Lines Which Will Be Reversed:

Displays the Primary Highlight Color used to identify lines that will be reversed based on the selected mode.

Color of Lines Which Will Be Ignored:

Displays the Secondary Highlight Color used to identify lines that will not be reversed based on the selected mode.

HOT KEYS

Enter:

Executes the current point creation process, functioning as the Apply button.

HEADER BAR COMMANDS

In the Header Bar of the command, you will find quick-access buttons to other commands that you may find useful while running this command.

Header Bar commands include:

  • Help - this document access
  • RPS Settings
  • Recycle
  • Smart CAD
  • PDF Manager
  • CAD Cleanup
  • Smart Select
  • Smart Draw
  • Smart Edit
  • Smart Elevate
  • Smart Feature
  • Smart Profile
  • Smart BIM
  • Smart Model
  • Volumes Manager
  • Smart Takeoff
  • Smart Plot
COMMAND BUTTONS

Apply:

When you tap Apply, the selected line(s) will be reversed and the command will prepare itself for another selection set and another process execution. If you do not want to make a second selection and repeat the process, tap Close to finish the process.

Close:

Closes the command without further execution.

HELP

In the Help area, you will find a shortcut link to this Help document and training video. You can also access this document by pressing F1 on your keyboard.

USE CASE VIDEOS

The following videos show the use of the Reverse Line command in a workflow context:

FEEDBACK AND ENHANCEMENT REQUESTS

If you would like to provide feedback on the use of the Reverse Line command or to request enhancements or improvements to the command, please click Reply below.

1 Like