pycatia.cat_plant_ship_interfaces.psp_light_part¶
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.cat_plant_ship_interfaces.psp_light_part.PSPLightPart(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPspLightPartRepresents the light part.Role: To access light object data.- get_definition(i_rel_axis: Product) PSPListOfDoubles ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetDefinition(Product iRelAxis) As PspListOfDoublesRetrieves the points defining the object.Parameters:iRelAxisThe relative axis object (Nothing means relative to parent).Returns:List of points defining object. A list of X-Y-Z coordinates of thepoints. 3 doubles per point.Example:Dim objThisIntf As PspLightPartDim objArg1 As ProductDim objArg2 As PspListOfDoublesSet objArg1 = Nothing…Set objArg2 = objThisIntf.GetDefinition (objArg1)
- Parameters:
i_rel_axis (Product) –
- Return type:
- set_definition(i_rel_axis: Product, i_list_points: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetDefinition(Product iRelAxis,CATSafeArrayVariant iListPoints)Set the points defining the light object.Parameters:iRelAxisThe relative axis object (Nothing means relative to parent).oListPointsList of points defining object. A list of X-Y-Z coordinates of thepoints. 3 doubles per point.Example:Dim objThisIntf As PspLightPartDim objArg1 As CATSafeArrayVariantDim dbVar2(3) As CATSafeArrayVariant…objThisIntf.SetDefinition objArg1, dbVar2
- Parameters:
i_rel_axis (Product) –
i_list_points (tuple) –
- Return type:
tuple