PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > Show3DViewer
Show3DViewer

Description:

Show a 3D Viewer with requested options visible, optional to maximize

Syntax:

"Show3DViewer optBtn optDlg doRotate pts lines surfs cyls cyllines textures sd edges curves camstns perspective maximize"

where:

booleans are (1 for true, 0 for false):

optBtn - show Options button

optDlg - show Options dialog before 3D Viewer displays

doRotate - apply Scale rotate to model

pts - show points

lines - show lines

surfs - show surfaces

cyls - show cylinders

cyllines - show cylinders as centre lines

textures - show photo textures

sd - show surface draw

edges - show edges

curves - show curves

camstns - show camera stations

perspective - show  perspective corrected textures (i.e. quality textures)

maximize - maximize the window

Return:

"1" if successful or "0" if this command failed. 

Example:

"Show3DViewer 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1"

return "1"