Skip to main content

ZOS-API interface 2024 R1

ZOSAPI.Preferences.IPreferencesEditor Interface Reference

Last update: 17.07.2025

Allows configuration of settings from the OpticStudio Preferences -> Editor tab in OpticStudio.
More...

Properties

int Decimals [get, set]
 Get or sets the decimals index.
 
double ExponentialAbove [get, set]
 Get or sets the upper bound to switch between decimal and exponential format.
 
double ExponentialBelow [get, set]
 Get or sets the lower bound to switch between decimal and exponential format.
 

Detailed Description

Allows configuration of settings from the OpticStudio Preferences -> Editor tab in OpticStudio.

Note - every time a setting is changed the Preference file in use will be automatically saved, but only if a valid file name is defined for IZOSAPI_Connection.PreferencesFile prior to connecting to the ZOS-API.

Property Documentation

◆ Decimals

int ZOSAPI.Preferences.IPreferencesEditor.Decimals
getset

Get or sets the decimals index.

◆ ExponentialAbove

double ZOSAPI.Preferences.IPreferencesEditor.ExponentialAbove
getset

Get or sets the upper bound to switch between decimal and exponential format.

◆ ExponentialBelow

double ZOSAPI.Preferences.IPreferencesEditor.ExponentialBelow
getset

Get or sets the lower bound to switch between decimal and exponential format.

Connect with Ansys