Navigation: Scripting Reference Manual > Functions & Subroutines > DeleteCoating

 

DeleteCoating

 

Contact Us: fredsupport@photonengr.com

 

Description

Deletes the given Coating entry from the Coating Folder.

 

Syntax

DeleteCoating id

 

Parameters

id As Long

Integer identifier of Coating to be deleted.

 

Remarks

Default Coatings Absorb (node 0), Reflect (node 1), Transmit (node 2), Standard Coating (node 3) & Uncoated (node 4) cannot be deleted from a FRED document. If the operation is unsuccessful, an error message occurs and execution is halted.

 

See Also

DeleteMaterial

DeleteScatter

DeleteEmbeddedScript

DeleteRaytraceCtrl

DeleteEntity

 

 

 

 

 

Copyright © Photon Engineering, LLC