Skip to main content

Speos Labs automation APIs 2024 R1

ExtendedSetActiveSource

Last update: 17.07.2025

Description

Sets the active source of an extended or a spectral map (0 if the map is not an extended or a spectral map).

Syntax

object.ExtendedSetActiveSource(int iSource) As Short

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

  • iSource: index of the source to activate

    You can set the iSourcebehavior as follows: - -1 to set all sources activated at 100% power ratio (equivalent to the All layersmode in Virtual Photometric Lab). - -2 to activate all sources depending on their current power ratio (equivalent to the User defined mode in Virtual Photometric Lab).

Connect with Ansys