Navigation: Scripting Reference Manual > Functions & Subroutines > SpectrumCopy

 

SpectrumCopy

 

Contact Us: fredsupport@photonengr.com

 

Description

Copies an existing spectrum into a new spectrum node.

 

 

Syntax

copySpect = SpectrumCopy( spectNode )

 

 

Parameters

copySpect (Long)

Node of the newly created spectrum.

 

spectNode As Long

Node number of the spectrum being copied.

 

 

Example

The following example creates a blackbody spectrum and copies it into a new spectrum node.

 

Dim spectNode As long

Dim copySpect As Long

 

spectNode = SpectrumCreateBlackbody( 5900, 0.3, 0.7 )

copySpect = SpectrumCopy( spectNode )

 

 

See Also

SpectrumCombine

SpectrumComputeArea

SpectrumComputeChromaticity

SpectrumComputeLuminousEfficacy

SpectrumDelete

SpectrumDeleteAllNodes

SpectrumFindName

SpectrumGetDescription

SpectrumGetMaxNodeNum

SpectrumGetName

SpectrumGetNodeCount

SpectrumGetRange

SpectrumGetValue

SpectrumIsValidNode

SpectrumSetDescription

SpectrumSetName

 

 

 

 

 

Copyright © Photon Engineering, LLC