pycatia.in_interfaces.camera¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.in_interfaces.camera.Camera(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectCameraRepresents the camera.The camera is the object that stores a viewpoint saved from a viewer at a givenmoment using the Viewer.NewCamera method of the Viewer object. The viewpointstored in the camera can then be applied to another viewer to display thedocument in this viewer according to this viewpoint.- property type: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property Type() As CatCameraType (Read Only)Returns the camera’s type.Example:This example retrieves in MyCameraType the type of the MyCamera 3Dcamera and applies the viewpoint stored in this camera to the activeviewer.MyCameraType = MyCamera.TypeCATIA.ActiveWindow.ActiveViewer.Viewpoint3D = MyCamera.Viewpoint3DThe value returned by the Type property in MyCameraType is catCamera3D
- Returns:
enum cat_camera_type
- Return type:
int