pycatia.osm_interfaces.scenes¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.osm_interfaces.scenes.Scenes(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionScenesA collection of scenes contained in a given ProductDocument.- add_copy_scene(i_name: str, i_reference_scene: Scene) Scene ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddCopyScene(CATBSTR iName,Scene iReferenceScene) As SceneCreates a scene from another and adds it to the Scenescollection.Parameters:iNameThe name of the sceneiReferenceSceneThe scene to be copiedReturns:The created sceneExample:This example creates the Engine scene from the SpareWheelsceneand adds the scene to the ToolKits collection.Dim Engine As SceneSet Engine = ToolKits.AddNewScene(“Engine”, SpareWheel)
- add_new_scene(i_name: str, i_reference_product: Product) Scene ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func AddNewScene(CATBSTR iName,Product iReferenceProduct) As SceneCreates a scene from a product and adds it to the Scenescollection.Parameters:iNameThe name of the sceneiReferenceProductThe product used as referenceReturns:The created sceneExample:This example creates the SpareWheel scene from the referenceproductFrontRightWheel and adds the scene to the ToolKitscollection.Dim SpareWheel As SceneSet SpareWheel = ToolKits.AddNewScene(“SpareWheel”, FrontRightWheel)
- remove(i_scene: Scene) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Remove(Scene iScene)Removes a scene from the Scenes collection.Parameters:iSceneThe scene to remove.Example:This example removes the Engine scene from the ToolKitscollection.ToolKits.Remove Engine
- Parameters:
i_scene (Scene) –
- Return type:
None