Navigation: Scripting Reference Manual > Functions & Subroutines > GetSurfScatterCount

 

GetSurfScatterCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the number of Scatter models assigned to a specified surface in the associated FRED document.

 

Syntax

nScat = GetSurfScatterCount ( n )

 

Parameters

nScat (Long)

The number of scatter models assigned to the surface.

 

n As Long

Node number for the surface.

 

Remarks

This function retrieves the number of Scatter models applied to a specific surface in the associated FRED document.  If there is a problem, the function posts an error and returns a value of -1.

 

See Also

GetSurfIthScatter

GetSurfRaytraceCtrl

GetSurfMaterials

GetSurfCoating

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC