Navigation: Scripting Reference Manual > Functions & Subroutines > GetSurfCoating

 

GetSurfCoating

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the identifier for the coating assigned to a specified surface.

 

Syntax

cnode = GetSurfCoating ( n )

 

Parameters

cnode (Long)

Returns the node number of the coating assigned to the surface.

 

n As Long

Node number for the Surface.

 

Remarks

This function retrieves the identifier for the coating assigned to a specific surface.  If there is a problem, the function posts an error and returns a value of -1.

 

See Also

SetSurfCoating

SetSurfIthScatter

SetSurfMaterials

SetSurfRaytraceCtrl

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC