Skip to main content

Description

Sets the active surface unit of the xm3 map. Returns 0 if the surface unit is not included in the map.

Syntax

object.SetActiveSurfaceUnit(int nSurfaceUnit) As Short
  • object: Virtual 3D Photometric Lab object
  • nSurfaceUnit: surface unit index
    • 0: Illuminance / Irradiance
    • 1: Reflection (Photometric / Radiometric)
    • 2: Transmission (Photometric / Radiometric)
    • 3: Absorption (Photometric / Radiometric)

VB script example

IronPython example