TerraPhoto Key-in Commands

Many tools in TerraPhoto 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.

If you select TPHOTO in the list at the lower right corner of the Browse Key-in dialog, the selection of commands is limited to TerraPhoto 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.

Photo Action

Photo 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.


Photo Action xxxxx

Photo Action HideDialog

Photo Action HideDialog key-in command instructs the application to keep the next modal dialog hidden and close it with OK. This is used with the scripting interface.


Photo Action HideDialog

Photo Open Main Toolbox

Open Main Toolbox key-in command opens the TerraPhoto Main Toolbox in CONNECT if it has been closed.


  photo app maintoolbox



Corresponding menu command: In v8/v8i only: Applications -> TerraPhoto -> Main tool box

Photo Open Main Window

Open Main Window key-in command opens the TerraPhoto Main Window in CONNECT after it has been accidentally closed.


  photo app mainwin



Corresponding menu command: In v8/v8i only: Applications -> TerraPhoto -> Main Window

Quality Set

Quality Set key-in command changes the quality attribute of images.


quality set <value>


valueChange the quality value of selected image to <value>. Values from 0 – 255 are accepted in the field. The lower the number, the higher the quality of an image.

Corresponding tool: Quality field, Edit, and Set Image Quality

Photo Set

Photo 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.


Photo Set nnnn=xxxx

Tie Set Status

Tie Set Status key-in command changes the tie status of selected images in the Define Color Corrections dialog.


tie set status approved


Parameter: Effect:
approved Sets image status to ‘Approved’ meaning they have a good number and distribution of tie points, or ‘Check’ meaning they need more tie points or better distributed tie points

Corresponding tool: Tie Approve and Tie Check

Additional Key-in Commands:

about terraphoto
add clone color points
add color point
adjust image angles
build movie from frames
change image rectify setting
change texture image
convert raster files
create camera view
create flythru movie
define camera
define coordinate setup
define rendering settings
delete color point
display rendered view
display video
draw distortion grid
draw pixel distribution
draw residual vectors
edit color point
export city model
fix building normals
help on terraphoto
identify image
manage camera trajectories
manage raster references
move tile
paint selection shape
place rpc tree
place selection shape
place tile array
rectify set
save rendered view
search seamlines
seek video
set reference
set references by view
split video trajectory
tie add air
tie add depth
tie add ground
tie add known depth
tie add known line
tie add known xy
tie add known xyz
tie add line
tie add straight line
tie clean point
tie delete pixel
tie enter position
tie find next
tie identify active


GeoCue Group Support has written 957 articles