A collection of all the Camera objects currently attached to a
Document object.
A camera can be created using the Viewer.NewCamera method of the
Viewer object. The first seventh cameras of the collection are
Camera3D objects and cannot be modified or removed.
They can just be retrieved and used "as is". They store the following
viewpoints whose sight direction is always toward the 3D-axis system
origin:
* iso
The origin is on a line with (1,1,1) as components with
positive coordinates
* front
The origin is on the x axis with a positive x coordinate
* back
The origin is on the x axis with a negative x coordinate
* left
The origin is on the y axis with a positive y coordinate
* right
The origin is on the y axis with a negative y coordinate
* top
The origin is on the z axis with a positive z coordinate
* bottom
The origin is on the z axis with a negative z coordinate
The cameras of the Cameras collection are available using the
dialog box displayed by clicking the View->Defined Views menu.
This example retrieves in ThisCamera the ninth camera,
and in ThatCamera the camera named
MyCamera in the camera collection of the active document.
Dim ThisCamera As Camera
Set ThisCamera = CATIA.ActiveDocument.Cameras.Item(9)
Dim ThatCamera As Camera
Set ThatCamera = CATIA.ActiveDocument.Cameras.Item("MyCamera")