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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
PspLightPart

Represents 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 PspListOfDoubles

Retrieves the points defining the object.

Parameters:

iRelAxis
The relative axis object (Nothing means relative to parent).


Returns:
List of points defining object. A list of X-Y-Z coordinates of the
points. 3 doubles per point.

Example:

Dim objThisIntf As PspLightPart
Dim objArg1 As Product
Dim objArg2 As PspListOfDoubles
Set objArg1 = Nothing
Set objArg2 = objThisIntf.GetDefinition (objArg1)
Parameters:

i_rel_axis (Product) –

Return type:

PSPListOfDoubles

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:

iRelAxis
The relative axis object (Nothing means relative to parent).

oListPoints
List of points defining object. A list of X-Y-Z coordinates of the
points. 3 doubles per point.

Example:

Dim objThisIntf As PspLightPart
Dim objArg1 As CATSafeArrayVariant
Dim dbVar2(3) As CATSafeArrayVariant
objThisIntf.SetDefinition objArg1, dbVar2
Parameters:
  • i_rel_axis (Product) –

  • i_list_points (tuple) –

Return type:

tuple