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: MD OD

Groups:

Example

sis.Set3DView  (True, 100, 100, 100, 100, 100, 100 )


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).