Navigation: Scripting Reference Manual > Functions & Subroutines > GetCoatingType

 

GetCoatingType

 

Contact Us: fredsupport@photonengr.com

 

Description

This function retrieves a string indicating the type of coating being queried.

 

Syntax

ctype = GetCoatingType ( cid )

 

Parameters

ctype (String)

Returned string indicating the type of coating that was queried.

 

cid As Long

Node number of the coating being queried.

 

Example

The following example demonstrates how to loop over all coating nodes and print their type string to the output window.

 

Sub Main

 

    Dim nCoat As Long

    nCoat = GetCoatingCount()

 

    Dim curCoat As Long

    For curCoat = 0 To nCoat-1

       Print GetCoatingType( curCoat )

    Next

 

End Sub

 

See Also

FindCoating

GetCoatingCount

GetCoatingDescription

GetCoatingName

SetCoatingDescription

SetCoatingName

 

 

 

 

 

 

Copyright © Photon Engineering, LLC