ZOSAPI.SystemData.IWavelength Interface Reference
Last update: 17.07.2025System wavelength data. This interface can be accessed via the IWavelengths interface. More...
Public Member Functions | |
| void | MakePrimary () |
Properties | |
| int | WavelengthNumber [get] |
| bool | IsActive [get] |
| bool | IsPrimary [get] |
| double | Wavelength [get, set] |
| double | Weight [get, set] |
Detailed Description
System wavelength data. This interface can be accessed via the IWavelengths interface.
Member Function Documentation
◆ MakePrimary()
| void ZOSAPI.SystemData.IWavelength.MakePrimary | ( | ) |
Property Documentation
◆ IsActive
|
get |
◆ IsPrimary
|
get |
◆ Wavelength
|
getset |
Usage (see Example 19 for a full sample)
C#
// ISystemData represents the System Explorer in GUI.
// We access options in System Explorer through ISystemData in ZOS-API
ISystemData TheSystemData = TheSystem.SystemData;
TheSystemData.Aperture.ApertureValue = 10;
TheSystemData.Aperture.AFocalImageSpace = true;
Interfaces and methods for changing all System Explorer data. This interface can be accessed via the ...
Definition: InterfacesSE.cs:275
IWavelength GetWavelength(int position)
Gets the specified wavelength."/>.
C++
// ISystemData represents the System Explorer in GUI.
// We access options in System Explorer through ISystemData in ZOS-API
ISystemDataPtr TheSystemData = TheSystem->SystemData;
TheSystemData->Aperture->ApertureValue = 10;
TheSystemData->Aperture->AFocalImageSpace = true;
TheSystemData->Wavelengths->GetWavelength(1)->Wavelength = 0.55;
Matlab
% ISystemData represents the System Explorer in GUI.
% We access options in System Explorer through ISystemData in ZOS-API
TheSystemData = TheSystem.SystemData;
TheSystemData.Aperture.ApertureValue = 10;
TheSystemData.Aperture.AFocalImageSpace = true;
TheSystemData.Wavelengths.GetWavelength(1).Wavelength = 0.55;
Python
# ISystemData represents the System Explorer in GUI.
# We access options in System Explorer through ISystemData in ZOS-API
TheSystemData = TheSystem.SystemData
TheSystemData.Aperture.ApertureValue = 10
TheSystemData.Aperture.AFocalImageSpace = True
TheSystemData.Wavelengths.GetWavelength(1).Wavelength = 0.55
◆ WavelengthNumber
|
get |
◆ Weight
|
getset |