Navigation: Scripting Reference Manual > Functions & Subroutines > SpectrumGetName

 

SpectrumGetName

 

Contact Us: fredsupport@photonengr.com

 

Description

Gets the name of the spectrum node being queried.  If the node number is invalid, an error is set and the operation is halted.

 

 

Syntax

spectName = SpectrumGetName( spectNode )

 

 

Parameters

spectName (String)

Name of the spectrum node being queried.

 

spectNode As Long

Node number of the spectrum being queried.

 

 

Example

The following example gets the maximum node number of all spectra in the document and then retrieves and prints the spectrum's name.

 

maxNode = SpectrumGetMaxNodeNum( )

Print SpectrumGetName( maxNode )

 

 

See Also

SpectrumCombine

SpectrumComputeArea

SpectrumComputeChromaticity

SpectrumComputeLuminousEfficacy

SpectrumCopy

SpectrumDelete

SpectrumDeleteAllNodes

SpectrumFindName

SpectrumGetDescription

SpectrumGetMaxNodeNum

SpectrumGetNodeCount

SpectrumGetRange

SpectrumGetValue

SpectrumIsValidNode

SpectrumSetDescription

SpectrumSetName

 

 

 

 

 

Copyright © Photon Engineering, LLC