Navigation: Scripting Reference Manual > Functions & Subroutines > DeleteScatter

 

DeleteScatter

 

Contact Us: fredsupport@photonengr.com

 

Description

Deletes the given Scatter Model entry from the Scatterers Folder.

 

Syntax

DeleteScatter id

 

Parameters

id As Long

Integer identifier of Scatter Model to be deleted.

 

Remarks

Default Scatter Models Black Lambertian (node 0), White Lambertian (node 1) & Harvey Shack (node 2) cannot be deleted from a FRED document. If the operation is unsuccessful, an error message occurs and execution is halted.

 

See Also

DeleteMaterial

DeleteCoating

DeleteEmbeddedScript

DeleteRaytraceCtrl

DeleteEntity

 

 

 

 

 

Copyright © Photon Engineering, LLC