Sets the various camera parameters in the specified View of the Document.
iv_setCamera ( document As Part, _
viewNo As Integer, _
cameraFit? As Boolean, _
cameraViewOrientation As Name, _
cameraPerspective? As Boolean, _
cameraPerspectiveAngle As Number, _
cameraEye As Point, _
cameraTarget As Point, _
cameraUpVector As Vector, _
cameraWidth As Number, _
cameraHeight As Number, _
cameraUseTransition? As Boolean ) As List
| Argument | Type | Description |
|---|---|---|
| document | part | Handle of the document owning the camera. |
| viewNo | integer | Specifies the view number to use |
| cameraFit? | boolean | If set, the scene will be fit into the view |
| cameraViewOrientation | name | One of the predefined orientations: :Front, :Top, :Right, :Back, :Bottom, :Left, :IsoTopRight, :IsoTopLeft,:IsoBottomRight, :IsoBottomLeft, or :Arbitrary |
| cameraPerspective? | boolean | Specifies Perspective or Parallel projection type |
| cameraPerspectiveAngle | number | Specifies the angle of the projection, for the perspective camera type |
| cameraEye | point | Position of the camera center. If Novalue, the current position is used |
| cameraTarget | point | Point the camera is looking at. If NoValue , this parameter is ignored |
| cameraUpVector | vector | Specifies the camera rotation along its axis. If NoValue , the current angle is used |
| cameraWidth | number | Width of the camera extent. Can be NoValue |
| cameraHeight | number | Height of the camera extent. Can be NoValue |
| cameraUseTransitions? | boolean | If set, the transitions (animation) will be used to set the camera. |
The Camera parameters on an Assembly document are the same as the arguments to iv_setCamera().
