Many tools in TerraModeler can be started by entering a key-in command in the MicroStation Key-in line. The Browse Key-in option of the Key-in line can be used to find out the syntax of a key-in command. To bring up the key-in dialog press enter in an active MicroStation view window.
If you select TMODEL in the list at the lower right corner of the Browse Key-in dialog, the selection of commands is limited to TerraModeler commands only. There are four list fields that show available commands. Select the first word of a command in the left list. This adds the word to the command line and displays matching second words in the second-left list field. Select the second word of a command. This adds the word to the command line and displays any matching third words in the next list field. Continue until a command is complete.
If you know approximately, how a command looks like, you may start typing the command in the Key-in line. The software automatically completes words of the command, so you just type the first letter(s) and then, confirm the suggested word with <Space>.
Press <Enter> in order to execute a key-in command. This starts the corresponding tool or performs another action called by the command.
Key-in commands are handy because you can assign them to function keys in MicroStation. This can speed up some manual tasks significantly as you can call tools by pressing a key instead of mouse clicks. Especially tools with optional parameters in their key-in commands are well suited for speeding up manual work with function keys.
This lists key-in commands and their optional parameters that you may consider assigning to function keys
Model Action
Model Action key-in command starts action with name xxxxx. Actions are linked to dialog push button iteams or dialog pulldown menus. Action can be started only when dialog is open. This is used with the scripting interface.
Syntax:
Model Action xxxxx
Model Close Surfaces
Model Close Surfaces key-in command to close all TerraModeler surfaces.
Syntax:
model close surfaces
Parameters:
None
Corresponding menu command: TerraModeler -> Surfaces Dialog -> File -> Close All
Model Log Dialogs
Model Log Dialogs key-in command begins the process of creating and writing a log file with action and variable names. User will utilize the tool and select the desired settings. When the tool is closed, this action will write variable names and selected values to the designated logfile location – xxxxx. This is used with the scripting interface.
Syntax:
Model Log Dialogs xxxxx
Model Open Main Toolbox
Open Main Toolbox key-in command opens the TerraModeler Main Toolbox in CONNECT if it has been closed.
Syntax:
model app main
Parameters:
None
Corresponding menu command: In v8/v8i only: Applications -> TerraScan -> Main tool box
Model Open Surface filename
Model Open Surface filename key-in command opens the surface called filename found in the same folder as the design file.
Syntax:
model open surface <filename>
Parameters:
Parameter: | Effect: |
filename | Filename of the surface to be opened |
Corresponding menu command: TerraModeler -> Surfaces Dialog -> File -> Open Surface
Model Set
Model Set key-in command assigns value xxxx to variable with name nnnn. If there is no matching variable in an open dialog, the application stores this assignment in a buffer. When the next dialog is created, the application will apply assignments in the buffer and clear the buffer. This is used with the scripting interface.
Syntax:
Model Set nnnn=xxxx
Model Write Text
Model Close Surfaces key-in command to close all TerraModeler surfaces.
Syntax:
model write text format filename
For Example:
model write text landxml12 d:\myproject\output\#bnumber.xml
Parameters:
Parameter: | Effect: |
format | Format of the Triangle Text File to be written:
|
filename | Full path and filename of text file to be written |
Corresponding menu command: TerraModeler -> Surfaces Dialog -> File -> Export -> Triangle Text File
Points on Surface
Points on Surface key-in command so users can control the lock with function keys.
Syntax:
Points On Surface on=1/dz=2.0
For Example:
“Points On Surface on=0” will turn off the points on surface lock
“Points On Surface on=1/dz=0.0” will turn on the points on surface lock with no elevation adjustment.
“Points On Surface on=1/dz=2.0” will turn on the points on surface lock with an elevation adjustment of 2 units.
Parameters:
Parameter: | Effect: |
on | Points on surface 0=lock off, 1=lock on |
dz | If you want to place elements above or below the surface, enter a Dz value. A positive value places the elements above the surface and a negative value below the surface. |
Corresponding tool: View Elevation -> Points on Surface
Additional Key-in Commands:
about terramodeler
alignment offset
calculate slope
check linear elevations
compare elevations
compute alignment quantity
compute area
compute prismoidal quantity
compute quantity
compute section quantity
compute tunnel volume
construct breakline
copy linear element
create region
define coordinate setup
define domains
define section templates
delete region
densify linear element
display boundary
display contours
display domain triangles
display drainage
display elevation texts
display flood
display grid
display raster triangles
display region triangles
display shaded surface
display slopes
display themes
display triangles
display visibility
domain view
draw alignment sections
draw profile
draw river section
draw section view
draw intersection
drop area
drop element on surface
edit region info
edit river sections
erase display
exclude area
exclude triangle
export river sections
fill area with cells
flatten area
force downstream flow
help on terramodeler
import river sections
input water elevations
insert breakline element
insert hole element
insert point along breakline
insert random element
label area
label elevation
label peaks and pits
label profile elevations
lift 2d contous
measure slope
Model Define Coordinate Setup
Model Settings
modify contour symbology
move area
move point
move region center
move sun angle
output profile elevations
output section elevations
place contour
place elevation text
place slope arrow
place sloped line
project from profile
project into profile
rebuild models
regions
remove area
remove point
report quantities
save surfaces
set area domain
set contour elevation
set domain between lines
set linear elevation
set scale
set triangle domain
setup automatic sections
show tunnel section location
surfaces
thin linear element
triangulate elements
triangulate multiple sources
triangulate survey
triangulate view
update displays
update profile
update regions
view elevation
view slope