Navigation: Scripting Reference Manual > Functions & Subroutines > SetAllCoatingPropGrp

 

SetAllCoatingPropGrp

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets Coating on all surfaces descended from the given group entities.

 

Syntax

count = SetAllCoatingPropGrp ( n, coat )

 

Parameters

count (Long)

Number of entities for which Coating property is set.

 

n As Long

Group node number.

 

coat As Long

Coating identifier.

 

Remarks

Sets Coating on all surfaces descended from the given group entities. Returns the number of entities for which Coating 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

SetAllImpSampActive

SetAllImpSampActiveGrp

SetAllMaterialProp

SetAllMaterialPropGrp

SetAllRaytraceControlProp

SetAllRaytraceControlPropGrp

SetAllScatterActive

SetAllScatterActiveGrp

SetAllSpecularPropertiesGrp

ToggleAllImpSampActive

ToggleAllImpSampActiveGrp

ToggleAllScatterActive

ToggleAllScatterActiveGrp

 

 

 

 

 

Copyright © Photon Engineering, LLC