Skip to main content

ZOS-API interface 2024 R1

ZOSAPI.Preferences Namespace Reference

Last update: 17.07.2025

Classes

interface  IPreferencesEditor
 Allows configuration of settings from the OpticStudio Preferences -> Editor tab in OpticStudio.
More...
 
interface  IPreferencesFolders
 Allows configuration of settings from the OpticStudio Preferences -> Folders tab in OpticStudio.
More...
 
interface  IPreferencesGeneral
 Allows configuration of settings from the OpticStudio Preferences -> General tab in OpticStudio. Only a subset of preferences can be configured via the ZOS-API as most settings do not have any effect. More...
 

Enumerations

enum  ShowLineAsType { TextAbove = 0 , FileName = 1 , ConfigurationNumber = 2 }
 
enum  DateTimeType { None = 0 , Date = 1 , DateTime = 2 }
 
enum  LanguageType { Chinese = 0 , English = 1 , Japanese = 4 }
 
enum  EncodingType { ANSI = 0 , Unicode = 1 }
 

Enumeration Type Documentation

◆ DateTimeType

Enumerator
None 
Date 
DateTime 

◆ EncodingType

Enumerator
ANSI 
Unicode 

◆ LanguageType

Enumerator
Chinese 
English 
Japanese 

◆ ShowLineAsType

Enumerator
TextAbove 
FileName 
ConfigurationNumber 

Connect with Ansys