Navigation: Scripting Reference Manual > Functions & Subroutines > FindCoating

 

FindCoating

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the identifier for a coating with the specified name.  This string can also be easily copied from the GUI using the "Copy Find-Name Command to Clipboard" feature available in the list menu after right mouse clicking on a node in the object tree.

 

Syntax

id = FindCoating ( cname )

 

Parameters

id (Long)

Identifier for the coating.

 

cname As String

The name of the coating to be found.

 

Remarks

This function retrieves the identifier for a specified coating. If there is a problem, the function sets an error and returns an 0. If no such coating is found the function returns -1.

 

See Also

GetCoatingCount

GetCoatingDescription

GetCoatingName

GetCoatingType

SetCoatingDescription

SetCoatingName

 

Examples

Coatings

 

 

 

 

 

Copyright © Photon Engineering, LLC