Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllScatterActiveGrp

 

SetAllScatterActiveGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Set all Scatter Model active flags on all surfaces descended from the given group entities.

 

Syntax

count = SetAllScatterActiveGrp ( n, active )

 

Parameters

count (Long)

Total number of entities examined. This is not the total number of flags set.

 

n As Long

Entity node number.

 

active As Boolean

Flag turning scatter model on or off (True or False).

 

Remarks

Set all Scatter Model active flags on all surfaces descended from the given group entities. Returns the number of entities examined rather than the total number of flags set. 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

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC