Skip to main content

Zemax OpticStudio ZOS-API 2026 R1

File IAS_XXXTemplateXXX.cs

Last update: 13.03.2026

Classes

Namespaces

Source

using System;
using System.Runtime.InteropServices;

namespace ZOSAPI.Analysis.Settings//.XXXFolderXXX
{
    [ComVisible(true)]
    //
    //  TODO: Make sure to generate your own GUID
    //
    [Guid("D7427A7B-CAC0-41B9-8BBE-1097582183F8")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    //
    //  TODO:
    //
    //  Replace all 'XXXTemplateXXX' below with the Engine class you're overlaying (without the 'Settings' suffix)
    //  Example: if you're defining the RayFanSettings,
    //  you swap XXXTemplateXXX with 'RayFan'
    //
    public interface IAS_XXXTemplateXXX : IAS_
    {
        //
        //  TODO:
        //
        // If your Settings class uses Fields, Wavelengths or Surfaces you need to define them thusly:
        //
        //IAS_Field Field { get; }
        //IAS_Surface Surface { get; }
        //IAS_Wavelength Wavelength { get; }
        //
        //  Add the properties the User can use here.
        //  Some examples:
        //
        //int NumberOfRays { get; set; }

        //double PlotScale { get; set; }

        //bool CheckApertures { get; set; }
     
        //SagittalAberrationComponent Sagittal { get; set; }

    }
}

Connect with Ansys