Skip to main content

Speos Labs automation APIs 2024 R1

SpectralSetActiveWavelength

Last update: 17.07.2025

Description

Sets the active wavelength of a spectral map. Returns 0 if the map is not a spectral map.

Syntax

object.SpectralSetActiveWavelength(int iWavelength) As Short

  • object: Virtual Photometric Lab object

  • iWavelength: index of the wavelength to activate (-1 for all)

Connect with Ansys