All Cadcorp SIS API Methods

Set3DView Method

Description

Sets the eye and look position in a 3D Window

Syntax

Visual Basic
Public Function Set3DView( _
   ByVal bSetView0 As Integer, _
   ByVal xEye As Double, _
   ByVal yEye As Double, _
   ByVal zEye As Double, _
   ByVal xLook As Double, _
   ByVal yLook As Double, _
   ByVal zLook As Double _
) As Integer

Parameters

bSetView0
True    Set the "view 0" (see below) eye and look positions.
False    Set the current eye and look positions.
 
xEye
The x coordinate of the eye position.

yEye
The y coordinate of the eye position.
 
zEye
The z coordinate of the eye position.
 
xLook
The x coordinate of the look position.
 
yLook
The y coordinate of the look position.
 
zLook
The z coordinate of the look position.

Remarks

"View 0" is used in two places: it is the view that the 3D Reset command will return to; and the "view to" look position is always used as the look position when the 3D view is in "Model" mode (SIS_3DMODE_MODEL).

Available: D OD

Groups: