Indexes   

Camera (Object)

Represents the camera.
The camera is the object that stores a viewpoint saved from a viewer at a given moment using the Viewer.NewCamera method of the Viewer object. The viewpoint stored in the camera can then be applied to another viewer to display the document in this viewer according to this viewpoint.

Property Index

Type
Returns the camera's type.

Properties


o Property Type() As (Read Only)
Returns the camera's type.
Example:
This example retrieves in MyCameraType the type of the MyCamera 3D camera and applies the viewpoint stored in this camera to the active viewer.
 MyCameraType = MyCamera.Type
 CATIA.ActiveWindow.ActiveViewer.Viewpoint3D = MyCamera.Viewpoint3D
 
The value returned by the Type property in MyCameraType is catCamera3D

Copyright © 2006, Dassault Systèmes. All rights reserved.