tcpTunnel CAD
Toolbar - TNC3
13.3 Toolbar
The toolbar contains the controls for managing the CAD viewer and the current grade file:
File Menu
New: Requests the path for the new RAS file and allows one to create a new grade from scratch.
Open: Requests a RAS file and loads it into the panel and the CAD viewer, setting it as the active grade.
Save: Saves the current grade to its file. If the grade has not been saved yet, it will request a path for the new RAS file.
History Menu
Undo: Undoes the last modification to the active grade.
Redo: Re-applies the last undone modification to the active grade.
These controls are only enabled when there is an active grade that has been modified.
Zoom Menu
Increase zoom: Increases the current zoom level.
Decrease zoom: Reduces the current zoom level.
Window zoom: Prompts for two vertices to form a window; the view becomes the content of that window.
Zoom extents: Sets the view so that all elements currently in the drawing are visible.
Measurement and Delete Menu
Measure: Prompts for two points and shows the distance between them. A line with the measurement text is added to the drawing.
Measure (XY): Same as Measure but also inserts two additional lines showing the X and Y distances between the two designated points.
Delete measurements: Deletes all measurements from the drawing.
Delete entities: Allows one to select entities and delete them from the drawing.
CAD Menu
Grid: Allows one to enable/disable the viewer grid.
Viewer background color: Allows one to set the background color of the CAD viewer.
Layer control: Allows one to manage the CAD viewer layers. Each layer has the following controls:
- Visibility: Sets whether the layer is visible or not.
- Delete: Removes the layer from the CAD.
- Layer name: Allows one to modify the layer name.
- Line/point thickness: Sets the line thickness of the layer (between 1 and 10).
- Current layer: Allows one to select the current layer.
- Global line thickness: Sets the line thickness of all layers simultaneously.
Entity Reference Menu
Point reference: If enabled, point entities are considered in entity reference.
End point reference: If enabled, entity vertices are considered in entity reference.
Mid point reference: If enabled, the central vertices of linear entity segments are considered.
Nearest point reference: If enabled, considers the vertex closest to the drawing cursor.
Enable/disable references: Sets whether entity reference should be considered.
Edit Menu
Insert vertex: Inserts a new vertex into the grade at a position designated by the user in the CAD viewer.
Delete vertex: Removes the vertex of the grade nearest to the designated position.
Grade Menu
Restrict cursor to grade: When enabled, the cursor movement in the CAD viewer is restricted to the grade polyline, allowing only station-aligned positions.
Mark pass point: Marks the current cursor position on the grade as a pass point reference.