Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Interface ZOSAPI::SystemData::ISurfaceSelection

Last update: 13.03.2026

Definition:

Members

Properties

Property FirstAllowedSurface

Definition:

int ZOSAPI.SystemData.ISurfaceSelection.FirstAllowedSurface

Return type: int

Property LastAllowedSurface

Definition:

int ZOSAPI.SystemData.ISurfaceSelection.LastAllowedSurface

Return type: int

Property ImageSurface

Definition:

int ZOSAPI.SystemData.ISurfaceSelection.ImageSurface

Return type: int

Property StopSurface

Definition:

int ZOSAPI.SystemData.ISurfaceSelection.StopSurface

Return type: int

Public functions

Function GetSelectedSurface

int ZOSAPI.SystemData.ISurfaceSelection.GetSelectedSurface()

Return type: int

Function SetSelectedSurface

bool ZOSAPI.SystemData.ISurfaceSelection.SetSelectedSurface(int Surface)

Parameters:

  • int Surface

Return type: bool

Function UseObjectSurface

bool ZOSAPI.SystemData.ISurfaceSelection.UseObjectSurface()

Return type: bool

Function UseStopSurface

bool ZOSAPI.SystemData.ISurfaceSelection.UseStopSurface()

Return type: bool

Function UseImageSurface

bool ZOSAPI.SystemData.ISurfaceSelection.UseImageSurface()

Return type: bool

Connect with Ansys