pycatia.in_interfaces.camera_3d¶
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_3d.Camera3D(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.CameraCamera3DRepresents a 3D camera.The 3D camera stores a 3D viewpoint, that is a Viewpoint3Dobject.- property viewpoint_3d: ViewPoint3D¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Viewpoint3D() As Viewpoint3DReturns or sets the 3D viewpoint of a 3D camera.Example:Assume the active window is a SpecsAndGeomWindow object. This exampleretrieves the Viewpoint3D of the active 3D viewer and creates from it aCamera3D you handle using the MyCamera variable. Then the camera zoom is set to2, and the camera’s viewpoint is assigned to the activeviewer.Dim MyCamera As Camera3DSet MyCamera = CATIA.ActiveWindow.ActiveViewer.NewCamera()MyCamera.Viewpoint3D.Zoom = 2CATIA.ActiveWindow.ActiveViewer.Viewpoint3D = MyCamera.Viewpoint3D
- Return type: