pycatia.osm_interfaces.scene_product_data¶
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.scene_product_data.SceneProductData(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSceneProductDataThe interface to access a CATIASceneProductUsing this prefered syntax will enable mkdoc to document yourclass.- property activation: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Activation() As booleanReturns / Set the scene product’s activation state.Example:This example retrieves the activation state of the scenePrdSceneProductData.IsActivated = scenePrd.Hidden
- Return type:
bool
- get_real_colour(o_red: int, o_green: int, o_blue: int, o_inheritance: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetRealColor(long oRed,long oGreen,long oBlue,long oInheritance)Returns / Set the scene product’s color and inheritance.Parameters:iRedA value between 0 and 255iGreenA value between 0 and 255iBlueA value between 0 and 255iInheritanceLegal value:0No heritance1HeritanceExample:This example retrieves the activation state of the scenePrdSceneProductData.Dim r, g, b, inhscenePrd.GetRealColor r, g, b, inh
- Parameters:
o_red (int) –
o_green (int) –
o_blue (int) –
o_inheritance (int) –
- Return type:
None
- get_real_transparency(o_transparency: int, o_inheritance: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetRealTransparency(long oTransparency,long oInheritance)Returns the scene product’s Transparency and inheritance.Parameters:oTransparencyA value between 0 and 255iInheritanceLegal value:0No heritance1HeritanceExample:This example retrieves the transparency of the scenePrdSceneProductData.Dim trans, inhscenePrd.GetRealTransparency trans, inh
- Parameters:
o_transparency (int) –
o_inheritance (int) –
- Return type:
None
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Hidden() As booleanReturns / Set the scene product’s hide/show mode.Example:This example retrieves the hide/show mode of the scenePrdSceneProductData.IsHidden = scenePrd.Hidden
- Return type:
bool
- property move: Move¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Move() As Move (Read Only)Returns the scene product’s move object. It aggregates a movable object towhich you can apply a move transformation by means of an isometry matrix. Itmoves your product shape representation according to thisisometry.Example:This example retrieves the EngineMove movein the scenePrd SceneProductData.Dim EngineMove As MoveSet EngineMove = scenePrd.GetMove
- Return type:
- property position: Position¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Position() As Position (Read Only)Returns the scene product’s position object. The position object is theobject aggregated by the SceneProductData object that holds the position of themaster shape representation in the space in scene.Example:This example retrieves the EnginePositionpositionin the scenePrd SceneProductData.Dim EnginePosition As PositionSet EnginePosition = scenePrd.GetPosition
- Return type:
- set_real_colour(i_red: int, i_green: int, i_blue: int, i_inheritance: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetRealColor(long iRed,long iGreen,long iBlue,long iInheritance)Returns / Set the scene product’s color and inheritance.Parameters:iRedA value between 0 and 255iGreenA value between 0 and 255iBlueA value between 0 and 255iInheritanceLegal value:0No heritance1HeritanceExample:This example retrieves the activation state of the scenePrdSceneProductData.scenePrd.SetRealColor 255,0,0,1
- Parameters:
i_red (int) –
i_green (int) –
i_blue (int) –
i_inheritance (int) –
- Return type:
None
- set_real_transparency(i_transparency: int, i_inheritance: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetRealTransparency(long iTransparency,long iInheritance)Set the scene product’s Transparency and inheritance.Parameters:iTransparencyA value between 0 and 255iInheritanceLegal value:0No heritance1HeritanceExample:This example applies the transparency of the scenePrdSceneProductData.scenePrd.SetRealTransparency 10, 1
- Parameters:
i_transparency (int) –
i_inheritance (int) –
- Return type:
None