pycatia.in_interfaces.camera_2d¶
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_2d.Camera2D(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.CameraCamera2DRepresents a 2D camera.The 2D camera stores a 2D viewpoint, that is a Viewpoint2Dobject.- property viewpoint2_d: Viewpoint2D¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Viewpoint2D() As Viewpoint2DReturns or sets the 2D viewpoint of a 2D camera.Example:Assume the active window is a SpecsAndGeomWindow object. This exampleretrieves the Viewpoint2D of the SpecsViewer and creates from it a Camera2D youhandle using the MyCamera variable. Then the camera zoom is set to 2, and thecamera’s viewpoint is assigned to the SpecsViewer.Dim MyCamera As CameraSet MyCamera = CATIA.ActiveWindow.SpecsViewer.NewCamera()MyCamera.Viewpoint2D.Zoom = 2CATIA.ActiveWindow.SpecsViewer.Viewpoint2D = MyCamera.Viewpoint2D
- Return type: