PspLightPart (Object)

Represents the light part.
Role: To access light object data.

Methods


Func GetDefinition( iRelAxis) As
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)
 
Sub SetDefinition( iRelAxis, 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