Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllRaytraceControlPropGrp

 

SetAllRaytraceControlPropGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets Raytrace Control on all surfs descended from the given group entities.

 

Syntax

count = SetAllRaytraceControlPropGrp ( n, rtcl )

 

Parameters

count (Long)

Number of entities for which Raytrace Control property is set.

 

n As Long

Group node number.

 

rtcl As Long

Raytrace Control identifier.

 

Remarks

Sets Raytrace Control on all surfs descended from the given group entities. Returns the number of entities for which Raytrace Control property is set. This count includes Lens, Mirror & Prism entities. If the indicated group is not found, the function returns an error. If there are no valid entities, a zero is returned.

 

Groups can only be created/edited/managed from the scripting language.

 

 

See Also

AddAllScatterProp

AddAllScatterPropGrp

AddGroup

AddToNthGroup

FindGroup

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC