Navigation: Scripting Reference Manual > Functions & Subroutines > SetSurfCoating

 

SetSurfCoating

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the coating that is assigned to a specified FRED surface.

 

Syntax

SetSurfCoating n, coatingID

 

Parameters

n As Long

Node number of the FRED surface.

 

coatingID As Long

Identifier of the coating to be assigned to the surface.

 

Remarks

This subroutine sets the coating that is assigned to a specific FRED surface. If there is a problem, the subroutine sets an error and returns without modifying the surface.

 

See Also

GetSurfCoating

SetSurfIthScatter

SetSurfMaterials

SetSurfRaytraceCtrl

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC