Please enable JavaScript to view this site.

TerraScan User Guide

Navigation: Tool Reference > Key-in commands/Spaccels

Key-in commands - S

Scroll Prev Top Next More

Scan App Main

Scan App Main opens the TerraScan toolbox. By default, the toolbox is opened when TerraScan is loaded. The command can be used to re-open the toolbox after it was accidentally closed.

Syntax:

scan app main

Scan App Mainwin

Scan App Mainwin opens the TerraScan window. By default, the window is opened when TerraScan is loaded. The command can be used to re-open the window after it was accidentally closed.

Syntax:

scan app mainwin

Scan Close Dialog

Scan Close Dialog key-in command closes a modeless dialog.

Syntax:

scan close dialog name

PARAMETER

EFFECT

name

Name of the dialog. Use the Scan Log Dialogs command in order to record dialog actions. The log file includes the name of dialogs that have been called during the recording.

Scan Create Surface

Scan Create Surface key-in command creates a TerraModeler surface model. The command starts TerraModeler if it is not yet running. It creates the surface model, keeps the model in the memory and stores the model file on the hard disk. The storage location and name of the model file on the hard disk are the same as of the CAD file.

Syntax:

scan create surface class name

Parameters:

PARAMETER

EFFECT

class

Point class from which the surface model is created.

name

Name of the surface model.

Corresponding menu command: Create surface model

Scan Delete Inside Fence

Scan Delete Inside Fence key-in command deletes points inside a fence or selected polygon. You accept the action with a data click inside the view where the fence is drawn or the polygon is selected.

The command requires that a fence is drawn or a polygon is selected before it is started.

Syntax:

scan delete inside fence

Corresponding menu command: Delete / Inside fence

Scan Delete Outside Fence

Scan Delete Outside Fence key-in command deletes points outside fence or selected polygon. You accept the action with a data click inside the view where the fence is drawn or the polygon is selected.

The command requires that a fence is drawn or a polygon is selected before it is started.

Syntax:

scan delete outside fence

Corresponding menu command: Delete / Outside fence

Scan Display

Scan Display key-in command changes the view display mode for laser points.

Syntax:

scan display off=all/on=2/color=class

Parameters:

PARAMETER

EFFECT

view=n

View to which the display settings are applied. View numbers can range from 1-8, for example view=3. If this parameter is given, it must be the first one and causes an immediate display change to the specified view. If not given, you select the view(s) with a data click.

on=n

Class(es) to switch on. Examples: on=2 or on=1,5-8 or on=all.

off=n

Class(es) to switch off. Examples: off=7 or off=3-11 or off=all.

color=n

Coloring mode, n can be class, echo, elevation, line, intensity, distance, color, lineint, echolen, scanner, dimension, group, shading, or u. Example: color=class.

weight=n

Weight (point size) where n is line weight value. Parameter n can be set 0-7 for constant weight, -1 for class-based weight, relative, smooth, or +/- to increase/decrease constant weight by one step. Examples: weight=1 or weight=-1 or weight=relative or weight=+.

lineon=n

Lines to switch on. Examples: lineon=1-3 or lineon=all.

lineoff=n

Lines to switch off. Examples: lineoff=1-3 or lineoff=all.

sparse=n

Sparse display mode. Examples: sparse=on or sparse=off.

depth=

Depth display mode. Examples: depth=on or depth=off.

Corresponding settings can be done in the Display mode dialog.

Scan Display Close

Scan Display Close key-in command closes the Display mode dialog.

Syntax:

scan display close

Scan Display Dialog

Scan Display Dialog key-in command opens the Display mode dialog.

Syntax:

scan display dialog

Corresponding menu command: Display mode

Scan Fit View

Scan Fit View key-in command fits a view to display the area covered by loaded points. You can specify the view to fit as an optional parameter or by selecting it with a data click.

Syntax:

scan fit view [view]

PARAMETER

EFFECT

view

View to which the action is applied. View numbers can range from 1-8.

Corresponding menu command: Fit view

Scan Flip Z

Scan Flip Z multiplies the elevation coordinate value of each point with -1. In other words, it mirrors points by the horizontal plane.

Syntax:

scan flip z

Scan Log Dialogs

Scan Log Dialogs key-in command starts a log file in which dialog calls and changed to dialog settings are recorded. After the command is called, do the steps that you want to record. This may include starting a tool or command, define settings in the tool's dialog and close the dialog with Cancel. When the dialog is closed, the variable names and values of the settings are written to the log file.

Syntax:

scan log dialogs logfile.txt

PARAMETER

EFFECT

logfile.txt

Storing directory and name of the log file, e.g. D:\dialog_log.txt. If the command is used without the parameter, the action recording is stopped.

Scan Move Sun

Scan Move Sun key-in command moves the sun direction (azimuth) in shaded views.

Syntax:

scan move sun degree

PARAMETER

EFFECT

Degree

Value to add to the current sun direction, angle by which the sun direction is moved.

Corresponding dialog setting: Display mode dialog, Azimuth setting for Color by Shading.

Scan Run Macro

Scan Run Macro key-in command executes a macro.

Syntax is:

scan run macro macrofile

PARAMETER

EFFECT

macrofile

File name of the macro to execute. If the file name does not include a directory path, the value of TSCAN_MACRODIR environment variable is used as the directory to search from. See Configuration Variables for Bentley CAD for more information.

Corresponding menu command: Run macro

Scan Undo Display

Scan Undo Display key-in command makes an undo for the last display mode change.

Syntax:

scan undo display

There is a corresponding Undo display button in the Display mode dialog.

TerraScan User Guide   01.01.2024   © 2024 Terrasolid Ltd