> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SpectralGetActiveWavelength

## Description

Gets the active wavelengths of a spectral map. Returns 1 if no error has occurred, 0 otherwise.

## Syntax

*object*.SpectralGetActiveWavelength(VARIANT\* ovWavelengthIndex) As Short

* *object*: Virtual Photometric Lab or Virtual Human Vision Lab object

* *ovWavelengthIndex*: VARIANT of the index of the active wavelength (-1 for all)
