Navigation: Scripting Reference Manual > Functions & Subroutines > AddAllScatterPropGrp

 

AddAllScatterPropGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a scatter model on all surfaces descended from the given group entities.

 

Syntax

count = AddAllScatterPropGrp ( n, scatid )

 

Parameters

count (Long)

Number of entities for which given scatter model was added.

 

n As Long

Group node number.

 

scatid As Long

Identifier of scatter model to be added.

 

Remarks

Adds a scatter model on all surfaces descended from the given group entities. Returns the number of entities for which given Scatter model was added. 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

AddGroup

AddToNthGroup

FindGroup

RemoveAllImpSampProp

RemoveAllImpSampPropGrp

RemoveAllScatterProp

RemoveAllScatterPropGrp

SetAllCoatingProp

SetAllCoatingPropGrp

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularProperties

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC