Navigation: Scripting Reference Manual > Functions & Subroutines > ToggleAllScatterActiveGrp

 

ToggleAllScatterActiveGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Toggles all Scatter model active flags on all surfaces descended from the given group entities.

 

Syntax

count = ToggleAllScatterActiveGrp ( n )

 

Parameters

count (Long)

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

 

n As Long

Group node number.

 

Remarks

Toggles all Scatter model active flags on all surfaces descended from the given group entities. The term "toggle" means to set the active flag to the opposite of its current state. Returns the total number of entities examined rather than the total number of flags toggled. 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

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

 

 

 

 

 

Copyright © Photon Engineering, LLC