> ## 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.

# SpectralSetActiveWavelength

## 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)
