Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

Namespace ZOSAPI::Tools::FileManager

Last update: 13.03.2026

Definition:

Classes

Enumeration types

Enumeration type FileSource

Definition:

enum FileSource {
  Unknown = -1,
  Project,
  Root
}

Enumerator Unknown

Enumerator Project

Enumerator Root

Enumeration type KnownFolder

Definition:

enum KnownFolder {
  Unknown = -1,
  Project,
  ABgData,
  BlackBoxes,
  Coatings,
  Configs,
  DllBulkScatter,
  DllDiffractive,
  DllGradientIndex,
  DllObjects,
  DllPhysicalOptics,
  DllSources,
  DllSurfaceScatter,
  DllSurfaces,
  Extend,
  GlassCat,
  ImaFiles,
  Macros,
  MeritFunction,
  Miscellaneous,
  ObjectsApertures,
  ObjectsCadFiles,
  ObjectsCreoParametricFiles,
  ObjectsGridFiles,
  ObjectsInventorFiles,
  ObjectsPartDesignerObjects,
  ObjectsPhosphorsAndFluorescenceFiles,
  ObjectsPolygonObjects,
  ObjectsStopFiles,
  ObjectsSolidWorksFiles,
  ObjectsSourcesEulumdat,
  ObjectsSourcesIesna,
  ObjectsSourcesRadiantSourceModelFiles,
  ObjectsSourcesSourceFiles,
  ObjectsSourcesSpectrumFiles,
  ObjectsTabulatedObjects,
  PopBeamFiles,
  Profiles,
  ScatterData,
  Tolerance,
  Udo,
  ZosApiExtensions,
  ZosApiOperands,
  ZosApiUserAnalysis,
  DllBirefringence
}

Enumerator Unknown

Enumerator Project

Enumerator ABgData

Represents the /ABg_Data folder.

Enumerator BlackBoxes

Represents the /BlackBoxes folder.

Enumerator Coatings

Represents the /Coatings folder.

Enumerator Configs

Represents the /Configs folder.

Enumerator DllBulkScatter

Represents the /DLL/BulkScatter folder.

Enumerator DllDiffractive

Represents the /DLL/Diffractive folder.

Enumerator DllGradientIndex

Represents the /DLL/GradientIndex folder.

Enumerator DllObjects

Represents the /DLL/Objects folder.

Enumerator DllPhysicalOptics

Represents the /DLL/PhysicalOptics folder.

Enumerator DllSources

Represents the /DLL/Sources folder.

Enumerator DllSurfaceScatter

Represents the /DLL/SurfaceScatter folder.

Enumerator DllSurfaces

Represents the /DLL/Surfaces folder.

Enumerator Extend

Represents the /Extend folder.

Enumerator GlassCat

Represents the /Glasscat folder.

Enumerator ImaFiles

Represents the /IMAFiles folder.

Enumerator Macros

Represents the /Macros folder.

Enumerator MeritFunction

Represents the /MeritFunction folder.

Enumerator Miscellaneous

Represents the /Miscellaneous folder.

Enumerator ObjectsApertures

Represents the /Objects/Apertures folder.

Enumerator ObjectsCadFiles

Represents the /Objects/CAD Files folder.

Enumerator ObjectsCreoParametricFiles

Represents the /Objects/Creo Parametric Files folder.

Enumerator ObjectsGridFiles

Represents the /Objects/Grid Files folder.

Enumerator ObjectsInventorFiles

Represents the /Objects/Inventor Files folder.

Enumerator ObjectsPartDesignerObjects

Represents the /Objects/Part Designer Objects folder.

Enumerator ObjectsPhosphorsAndFluorescenceFiles

Represents the /Objects/Phosphors and Fluorescence Files folder.

Enumerator ObjectsPolygonObjects

Represents the /Objects/Polygon Objects folder.

Enumerator ObjectsStopFiles

Represents the /Objects/STOP Files folder.

Enumerator ObjectsSolidWorksFiles

Represents the /Objects/SolidWorks Files folder.

Enumerator ObjectsSourcesEulumdat

Represents the /Objects/Sources/EULUMDAT folder.

Enumerator ObjectsSourcesIesna

Represents the /Objects/Sources/IESNA folder.

Enumerator ObjectsSourcesRadiantSourceModelFiles

Represents the /Objects/Sources/Radiant Source Model Files folder.

Enumerator ObjectsSourcesSourceFiles

Represents the /Objects/Sources/Source Files

Enumerator ObjectsSourcesSpectrumFiles

Represents the /Objects/Sources/Spectrum Files folder.

Enumerator ObjectsTabulatedObjects

Represents the /Objects/Tabulated Objects folder.

Enumerator PopBeamFiles

Represents the /POP/BEAMFILES folder.

Enumerator Profiles

Represents the /Profiles folder.

Enumerator ScatterData

Represents the /ScatterData folder.

Enumerator Tolerance

Represents the /Tolerance folder.

Enumerator Udo

Represents the /UDO folder.

Enumerator ZosApiExtensions

Represents the /ZOS-API/Extensions folder.

Enumerator ZosApiOperands

Represents the /ZOS-API/Operands folder.

Enumerator ZosApiUserAnalysis

Represents the /ZOS-API/User Analysis folder.

Enumerator DllBirefringence

Enumeration type Operation

Definition:

enum Operation {
  None,
  GetFilesInUse,
  GetAdditionalFiles
}

Enumerator None

Enumerator GetFilesInUse

Enumerator GetAdditionalFiles

Connect with Ansys