Skip to main content

ZOS-API interface 2024 R2

ZOSAPI.Editors.LDE Namespace Reference

Last update: 17.07.2025

Classes

interface  ICoatingPerformanceData
 
interface  ILDEApertureData
 Surface properties aperture tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDECoatingData
 Surface properties coatings tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDECoatingSettings
 Coating settings for a specific layer. This interface can be accessed via the ILDECoatingData interface. More...
 
interface  ILDECompositeData
 Surface properties composite tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDEDrawData
 Surface properties draw tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDEImportData
 Surface properties import tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDEPhysicalOpticsData
 Surface properties physical optics tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDERow
 All data for a Lens Data Editor surface. This interface can be accessed via the ILensDataEditor interface. More...
 
interface  ILDEScatteringData
 Surface properties scattering tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDETiltDecenterData
 Surface properties tilt/decenter data. This interface can be accessed via the ILDERow interface. More...
 
interface  ILDETool_AddCoatingsToAllSurfaces
 
interface  ILDETool_TiltDecenterElements
 
interface  ILDETypeData
 Surface properties type tab. This interface can be accessed via the ILDERow interface. More...
 
interface  ILensDataEditor
 This interface defines all properties and methods needed to interact with the Lens Data Editor. This interface can be accessed via the IOpticalSystem interface. More...
 
interface  ISTAR_ComponentRBMs
 All STAR component data for a Lens Data Editor surface. More...
 
interface  ISTAR_CoordinateTransform
 
interface  ISTAR_Data
 All STAR data for a Lens Data Editor surface. This interface can be accessed via the ILDERow interface. More...
 
interface  ISTAR_Decenters
 
interface  ISTAR_Deformation
 
interface  ISTAR_DeformationFits
 
interface  ISTAR_Deformations
 All STAR deformation data for a Lens Data Editor surface. More...
 
interface  ISTAR_DeformationsFEAData
 
interface  ISTAR_DirectIndex
 All STAR direct refractive index data for a Lens Data Editor surface. More...
 
interface  ISTAR_DirectIndexFEAData
 Classes which implement this interface allow to handle refractive index FEA datasets. More...
 
interface  ISTAR_DirectIndexFits
 
interface  ISTAR_FEAFitResults
 
interface  ISTAR_FEAFitSettings
 
interface  ISTAR_PointWithDeformation
 
interface  ISTAR_PointWithDeformationAndWeight
 
interface  ISTAR_PointWithIndex
 
interface  ISTAR_PointWithTemperatureAndIndex
 
interface  ISTAR_RBM_Centroid
 
interface  ISTAR_RBM_ReferencePoint
 
interface  ISTAR_RBMs
 
interface  ISTAR_RotationAngles
 
interface  ISTAR_Rotations
 
interface  ISTAR_RotationValues
 
interface  ISTAR_Temperatures
 All STAR temperature data for a Lens Data Editor surface. More...
 
interface  ISTAR_TemperaturesFEAData
 
interface  ISTAR_TemperaturesFits
 
interface  ISurface
 
interface  ISurfaceABCD
 
interface  ISurfaceAlternateEven
 
interface  ISurfaceAlternateOdd
 
interface  ISurfaceAnnularZernikeSag
 
interface  ISurfaceAPBC
 
interface  ISurfaceApertureCircular
 Aperture Type - Circular Aperture / Obscuration. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceApertureElliptical
 Aperture Type - Elliptical Aperture / Obscuration. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceApertureFloating
 Aperture Type - Floating Aperture. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceApertureNone
 Aperture Type - None. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceApertureRectangular
 Aperture Type - Rectangular Aperture / Obscuration. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceApertureSpider
 Aperture Type - Spider. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceApertureType
 Base interface for settings specific to a SurfaceApertureTypes. This interface can be retrieved from a ILDEApertureData interface. Note that the "_S_" properties are convenience methods for retrieving the derived interface for the appropriate aperture type settings. More...
 
interface  ISurfaceApertureUser
 Aperture Type - User Aperture / Obscuration. This interface can be retrieved from a ILDEApertureData interface. More...
 
interface  ISurfaceAtmospheric
 
interface  ISurfaceBiconic
 
interface  ISurfaceBiconicZernike
 
interface  ISurfaceBinary1
 
interface  ISurfaceBinary2
 
interface  ISurfaceBinary3
 
interface  ISurfaceBinary4
 
interface  ISurfaceBirefringentIn
 
interface  ISurfaceBirefringentOut
 
interface  ISurfaceBlackBoxLens
 
interface  ISurfaceChebyShv
 
interface  ISurfaceCoeff_P_NthEvenPower
 
interface  ISurfaceCoeff_P_NthPower
 
interface  ISurfaceCoeff_R_NthEvenPower
 
interface  ISurfaceCoeff_R_NthPower
 
interface  ISurfaceCoeff_X1P1X2P2_NthEvenPower
 
interface  ISurfaceCoeff_X_NthEvenPower
 
interface  ISurfaceCoeff_X_NthEvenPower_8
 
interface  ISurfaceCoeff_Y_NthEvenPower
 
interface  ISurfaceCoeff_Y_NthEvenPower_8
 
interface  ISurfaceConjugate
 
interface  ISurfaceCoordinateBreak
 
interface  ISurfaceCubicSpline
 
interface  ISurfaceCylinderFrensel
 
interface  ISurfaceCylinderFresnel
 
interface  ISurfaceData
 
interface  ISurfaceDiffractionGrating
 
interface  ISurfaceEllipticalGrating1
 
interface  ISurfaceEllipticalGrating2
 
interface  ISurfaceEvenAspheric
 
interface  ISurfaceExtendedAsphere
 
interface  ISurfaceExtendedCubicSpline
 
interface  ISurfaceExtendedFresnel
 
interface  ISurfaceExtendedOddAsphere
 
interface  ISurfaceExtendedPolynomial
 
interface  ISurfaceExtendedToroidalGrating
 
interface  ISurfaceFreeformNthZernike
 
interface  ISurfaceFreeformXYPolynomial
 
interface  ISurfaceFresnel
 
interface  ISurfaceGeneralizedFresnel
 
interface  ISurfaceGradient1
 
interface  ISurfaceGradient10
 
interface  ISurfaceGradient12
 
interface  ISurfaceGradient2
 
interface  ISurfaceGradient3
 
interface  ISurfaceGradient4
 
interface  ISurfaceGradient5
 
interface  ISurfaceGradient6
 
interface  ISurfaceGradient7
 
interface  ISurfaceGradient9
 
interface  ISurfaceGradium
 
interface  ISurfaceGridGradient
 
interface  ISurfaceGridPhase
 
interface  ISurfaceGridSag
 
interface  ISurfaceHologram1
 
interface  ISurfaceHologram2
 
interface  ISurfaceIrregular
 
interface  ISurfaceJonesMatrix
 
interface  ISurfaceNonSequential
 
interface  ISurfaceNthEvenOrderTerms
 
interface  ISurfaceNthOrderTerms
 
interface  ISurfaceNthThickness
 
interface  ISurfaceNthZernike
 
interface  ISurfaceOddAsphere
 
interface  ISurfaceOddCosine
 
interface  ISurfaceOffAxisConicFreeform
 
interface  ISurfaceOpticallyFabricatedHologram
 
interface  ISurfaceParaxial
 
interface  ISurfaceParaxialXY
 
interface  ISurfacePeriodic
 
interface  ISurfacePolynomial
 
interface  ISurfaceQTypeAsphere
 
interface  ISurfaceQTypeFreeform
 
interface  ISurfaceRadialGrating
 
interface  ISurfaceRadialNurbs
 
interface  ISurfaceRetroReflect
 
interface  ISurfaceScatteringABg
 Surface Scattering - ABg. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringABgFile
 Surface Scattering - ABg File. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringBSDF
 Surface Scattering - BSDF. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringCatalog
 Surface Scattering - IS Scatter Catalog. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringGaussian
 Surface Scattering - Gaussian. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringLambertian
 Surface Scattering - Lambertian. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringNone
 Surface Scattering - None. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceScatteringType
 Base interface for all surface scattering types. This interface can be retrieved from the ILDEScatteringData interface. Note that the "_S_" properties are convenience methods for retrieving the derived interface for the appropriate scattering type settings. More...
 
interface  ISurfaceScatteringUser
 Surface Scattering - User. This interface can be retrieved from the ILDEScatteringData interface. More...
 
interface  ISurfaceSlide
 
interface  ISurfaceStandard
 
interface  ISurfaceSuperconic
 
interface  ISurfaceTilted
 
interface  ISurfaceToroidal
 
interface  ISurfaceToroidalGrat
 
interface  ISurfaceToroidalHologram
 
interface  ISurfaceToroidalNurbs
 
interface  ISurfaceTrueFreeform
 
interface  ISurfaceTypeSettings
 This interface is used for selecting any files required by a surface, and for changing surface types. This interface can be accessed via the ILDERow interface. More...
 
interface  ISurfaceVariableLineSpaceGrating
 
interface  ISurfaceXYPolynomial
 
interface  ISurfaceZernikeAnnularPhase
 
interface  ISurfaceZernikeFringePhase
 
interface  ISurfaceZernikeFringeSag
 
interface  ISurfaceZernikeStandardPhase
 
interface  ISurfaceZernikeStandardSag
 
interface  ISurfaceZonePlate
 

Enumerations

enum  SurfaceType {
  ABCD , AlternateEven , AlternateOdd , AnnularZernikeSag ,
  Atmospheric , Biconic , BiconicZernike , Binary1 ,
  Binary2 , Binary3 , Binary4 , BirefringentIn ,
  BirefringentOut , BlackBoxLens , ChebyShv , Conjugate ,
  CoordinateBreak , CubicSpline , CylinderFrensel , CylinderFresnel = CylinderFrensel ,
  Data , DiffractionGrating , EllipticalGrating1 , EllipticalGrating2 ,
  EvenAspheric , ExtendedToroidalGrating , ExtendedAsphere , ExtendedCubicSpline ,
  ExtendedFresnel , ExtendedOddAsphere , ExtendedPolynomial , Fresnel ,
  GeneralizedFresnel , Gradient1 , Gradient2 , Gradient3 ,
  Gradient4 , Gradient5 , Gradient6 , Gradient7 ,
  Gradient9 , Gradient10 , Gradient12 , Gradium ,
  GridGradient , GridPhase , GridSag , Hologram1 ,
  Hologram2 , Irregular , JonesMatrix , NonSequential ,
  OddAsphere , OddCosine , OffAxisConicFreeform , OpticallyFabricatedHologram ,
  Paraxial , ParaxialXY , Periodic , Polynomial ,
  QTypeAsphere , QTypeFreeform , RadialGrating , RadialNurbs ,
  RetroReflect , SlideSurface , Standard , Superconic ,
  Tilted , Toroidal , ToroidalGrat , ToroidalHologram ,
  ToroidalNurbs , UserDefined , VariableLineSpaceGrating , ZernikeAnnularPhase ,
  ZernikeFringePhase , ZernikeFringeSag , ZernikeStandardPhase , ZernikeStandardSag ,
  ZonePlate , Freeform
}
 All available surface types. More...
 
enum  SurfaceColumn {
  Comment = 1 , Radius , Thickness , Material ,
  Coating , SemiDiameter , ChipZone , MechanicalSemiDiameter ,
  Conic , TCE , Par0 , Par1 ,
  Par2 , Par3 , Par4 , Par5 ,
  Par6 , Par7 , Par8 , Par9 ,
  Par10 , Par11 , Par12 , Par13 ,
  Par14 , Par15 , Par16 , Par17 ,
  Par18 , Par19 , Par20 , Par21 ,
  Par22 , Par23 , Par24 , Par25 ,
  Par26 , Par27 , Par28 , Par29 ,
  Par30 , Par31 , Par32 , Par33 ,
  Par34 , Par35 , Par36 , Par37 ,
  Par38 , Par39 , Par40 , Par41 ,
  Par42 , Par43 , Par44 , Par45 ,
  Par46 , Par47 , Par48 , Par49 ,
  Par50 , Par51 , Par52 , Par53 ,
  Par54 , Par55 , Par56 , Par57 ,
  Par58 , Par59 , Par60 , Par61 ,
  Par62 , Par63 , Par64 , Par65 ,
  Par66 , Par67 , Par68 , Par69 ,
  Par70 , Par71 , Par72 , Par73 ,
  Par74 , Par75 , Par76 , Par77 ,
  Par78 , Par79 , Par80 , Par81 ,
  Par82 , Par83 , Par84 , Par85 ,
  Par86 , Par87 , Par88 , Par89 ,
  Par90 , Par91 , Par92 , Par93 ,
  Par94 , Par95 , Par96 , Par97 ,
  Par98 , Par99 , Par100 , Par101 ,
  Par102 , Par103 , Par104 , Par105 ,
  Par106 , Par107 , Par108 , Par109 ,
  Par110 , Par111 , Par112 , Par113 ,
  Par114 , Par115 , Par116 , Par117 ,
  Par118 , Par119 , Par120 , Par121 ,
  Par122 , Par123 , Par124 , Par125 ,
  Par126 , Par127 , Par128 , Par129 ,
  Par130 , Par131 , Par132 , Par133 ,
  Par134 , Par135 , Par136 , Par137 ,
  Par138 , Par139 , Par140 , Par141 ,
  Par142 , Par143 , Par144 , Par145 ,
  Par146 , Par147 , Par148 , Par149 ,
  Par150 , Par151 , Par152 , Par153 ,
  Par154 , Par155 , Par156 , Par157 ,
  Par158 , Par159 , Par160 , Par161 ,
  Par162 , Par163 , Par164 , Par165 ,
  Par166 , Par167 , Par168 , Par169 ,
  Par170 , Par171 , Par172 , Par173 ,
  Par174 , Par175 , Par176 , Par177 ,
  Par178 , Par179 , Par180 , Par181 ,
  Par182 , Par183 , Par184 , Par185 ,
  Par186 , Par187 , Par188 , Par189 ,
  Par190 , Par191 , Par192 , Par193 ,
  Par194 , Par195 , Par196 , Par197 ,
  Par198 , Par199 , Par200 , Par201 ,
  Par202 , Par203 , Par204 , Par205 ,
  Par206 , Par207 , Par208 , Par209 ,
  Par210 , Par211 , Par212 , Par213 ,
  Par214 , Par215 , Par216 , Par217 ,
  Par218 , Par219 , Par220 , Par221 ,
  Par222 , Par223 , Par224 , Par225 ,
  Par226 , Par227 , Par228 , Par229 ,
  Par230 , Par231 , Par232 , Par233 ,
  Par234 , Par235 , Par236 , Par237 ,
  Par238 , Par239 , Par240 , Par241 ,
  Par242 , Par243 , Par244 , Par245 ,
  Par246 , Par247 , Par248 , Par249 ,
  Par250 , Par251 , Par252 , Par253 ,
  Par254
}
 
enum  ConversionOrder { Forward = 0 , Reverse }
 
enum  InterpolationMethod { BicubicSpline = 0 , Linear }
 
enum  QTypes { Qbfs = 0 , Qcon }
 
enum  CoordinateConversionResult {
  Success = 0 , Error_InvalidRange = -1 , Error_CoordianteBreak = -2 , Error_IgnoredSurface = -3 ,
  Error_TiltDecenter = -4 , Error_MultiConfig = -5
}
 
enum  PupilApodizationType { None = 0 , Gaussian , Tangential }
 
enum  TiltType { XTilt = 0 , YTilt = 1 }
 
enum  PointCloudFileFormat { ASCII , Binary , CompressedBinary }
 
enum  NodesDataType { SurfaceDeformationNoRBM = 1 , RefractiveIndex , TemperatureAndRefractiveIndex , SurfaceDeformation }
 
enum  IndexDataType { Unknown = -1 , None = 0 , PhysicsBasedIndex , DirectRefractiveIndex }
 
enum  STARDeformationOption { DeformationWithRBMs = 0 , DeformationWithoutRBMs = 1 , OnlyRBMs = 2 , NoDeformation = 3 }
 
enum  SurfaceEdgeDraw { Squared = 0 , Tapered = 1 , Flat = 2 }
 
enum  SubstrateType { None = 0 , Flat = 1 , Curved = 2 }
 
enum  SurfaceApertureTypes {
  None = 0 , CircularAperture = 1 , CircularObscuration = 2 , Spider = 3 ,
  RectangularAperture = 4 , RectangularObscuration = 5 , EllipticalAperture = 6 , EllipticalObscuration = 7 ,
  UserAperture = 8 , UserObscuration = 9 , FloatingAperture = 10
}
 
enum  SurfaceScatteringTypes {
  None = 0 , Lambertian = 1 , Gaussian = 2 , ABg = 3 ,
  ABgFile = 4 , BSDF = 5 , User = 6 , ISScatterCatalog = 7
}
 
enum  TiltDecenterOrderType { Decenter_Tilt = 0 , Tilt_Decenter = 1 }
 
enum  TiltDecenterPickupType { Explicit , PickupSurface , ReverseSurface }
 
enum  CoordinateReturnType { None = 0 , OrientationOnly , OrientationXY , OrientationXYZ }
 
enum  PilotRadiusMode {
  BestFit = 0 , Shorter = 1 , Longer = 2 , X = 3 ,
  Y = 4 , Plane = 5 , User = 6
}
 
enum  XYSampling {
  S32 = 0 , S64 = 1 , S128 = 2 , S256 = 3 ,
  S512 = 4 , S1024 = 5 , S2048 = 6 , S4096 = 7 ,
  S8192 = 8 , S16384 = 9
}
 
enum  CoatingStatusType { Fixed , Variable , Pickup }
 

Enumeration Type Documentation

◆ CoatingStatusType

Enumerator
Fixed 
Variable 
Pickup 

◆ ConversionOrder

Enumerator
Forward 
Reverse 

◆ CoordinateConversionResult

Enumerator
Success 
Error_InvalidRange 
Error_CoordianteBreak 
Error_IgnoredSurface 
Error_TiltDecenter 
Error_MultiConfig 

◆ CoordinateReturnType

Enumerator
None 
OrientationOnly 
OrientationXY 
OrientationXYZ 

◆ IndexDataType

Enumerator
Unknown 
None 
PhysicsBasedIndex 
DirectRefractiveIndex 

◆ InterpolationMethod

Enumerator
BicubicSpline 
Linear 

◆ NodesDataType

Enumerator
SurfaceDeformationNoRBM 
RefractiveIndex 
TemperatureAndRefractiveIndex 
SurfaceDeformation 

◆ PilotRadiusMode

Enumerator
BestFit 
Shorter 
Longer 
X 
Y 
Plane 
User 

◆ PointCloudFileFormat

Enumerator
ASCII 
Binary 
CompressedBinary 

◆ PupilApodizationType

Enumerator
None 
Gaussian 
Tangential 

◆ QTypes

Enumerator
Qbfs 
Qcon 

◆ STARDeformationOption

Enumerator
DeformationWithRBMs 
DeformationWithoutRBMs 
OnlyRBMs 
NoDeformation 

◆ SubstrateType

Enumerator
None 
Flat 
Curved 

◆ SurfaceApertureTypes

Usage (see Example 19 for a full sample)

C#

// To specify an aperture to a surface, we need to first create an ISurfaceApertureType and then assign it.
ISurfaceApertureType Rect_Aper = TheLDE.GetSurfaceAt(2).ApertureData.CreateApertureTypeSettings(SurfaceApertureTypes.RectangularAperture);
Rect_Aper._S_RectangularAperture.XHalfWidth = 10;
Rect_Aper._S_RectangularAperture.YHalfWidth = 10;
TheLDE.GetSurfaceAt(2).ApertureData.ChangeApertureTypeSettings(Rect_Aper);
TheLDE.GetSurfaceAt(3).ApertureData.PickupFrom = 2;
Base interface for settings specific to a SurfaceApertureTypes. This interface can be retrieved from ...
Definition: InterfacesLDE.cs:4729
SurfaceApertureTypes
Definition: InterfacesLDE.cs:4597

C++

// To specify an aperture to a surface, we need to first create an ISurfaceApertureType and then assign it.
ISurfaceApertureTypePtr Rect_Aper = TheLDE->GetSurfaceAt(2)->ApertureData->CreateApertureTypeSettings(SurfaceApertureTypes_RectangularAperture);
Rect_Aper->_S_RectangularAperture->XHalfWidth = 10;
Rect_Aper->_S_RectangularAperture->YHalfWidth = 10;
TheLDE->GetSurfaceAt(2)->ApertureData->ChangeApertureTypeSettings(Rect_Aper);
TheLDE->GetSurfaceAt(3)->ApertureData->PickupFrom = 2;

Matlab

% To specify an aperture to a surface, we need to first create an ISurfaceApertureType and then assign it.
Rect_Aper = TheLDE.GetSurfaceAt(2).ApertureData.CreateApertureTypeSettings(ZOSAPI.Editors.LDE.SurfaceApertureTypes.RectangularAperture);
Rect_Aper.S_RectangularAperture_.XHalfWidth = 10;
Rect_Aper.S_RectangularAperture_.YHalfWidth = 10;
TheLDE.GetSurfaceAt(2).ApertureData.ChangeApertureTypeSettings(Rect_Aper);
TheLDE.GetSurfaceAt(3).ApertureData.PickupFrom = 2;
Definition: InterfacesLDE.cs:8
Definition: InterfacesEditors.cs:12
The ZOSAPI namespace contains classes for initially connecting to zemax. See also ZOSAPI_Connection,...
Definition: IAS_FieldCurvatureAndDistortion.cs:5

Python

# To specify an aperture to a surface, we need to first create an ISurfaceApertureType and then assign it.
Rect_Aper = TheLDE.GetSurfaceAt(2).ApertureData.CreateApertureTypeSettings(ZOSAPI.Editors.LDE.SurfaceApertureTypes.RectangularAperture)
Rect_Aper._S_RectangularAperture.XHalfWidth = 10
Rect_Aper._S_RectangularAperture.YHalfWidth = 10
TheLDE.GetSurfaceAt(2).ApertureData.ChangeApertureTypeSettings(Rect_Aper)
TheLDE.GetSurfaceAt(3).ApertureData.PickupFrom = 2
Enumerator
None 
CircularAperture 
CircularObscuration 
Spider 
RectangularAperture 
RectangularObscuration 
EllipticalAperture 
EllipticalObscuration 
UserAperture 
UserObscuration 
FloatingAperture 

◆ SurfaceColumn

Enumerator
Comment 
Radius 
Thickness 
Material 
Coating 
SemiDiameter 
ChipZone 
MechanicalSemiDiameter 
Conic 
TCE 
Par0 
Par1 
Par2 
Par3 
Par4 
Par5 
Par6 
Par7 
Par8 
Par9 
Par10 
Par11 
Par12 
Par13 
Par14 
Par15 
Par16 
Par17 
Par18 
Par19 
Par20 
Par21 
Par22 
Par23 
Par24 
Par25 
Par26 
Par27 
Par28 
Par29 
Par30 
Par31 
Par32 
Par33 
Par34 
Par35 
Par36 
Par37 
Par38 
Par39 
Par40 
Par41 
Par42 
Par43 
Par44 
Par45 
Par46 
Par47 
Par48 
Par49 
Par50 
Par51 
Par52 
Par53 
Par54 
Par55 
Par56 
Par57 
Par58 
Par59 
Par60 
Par61 
Par62 
Par63 
Par64 
Par65 
Par66 
Par67 
Par68 
Par69 
Par70 
Par71 
Par72 
Par73 
Par74 
Par75 
Par76 
Par77 
Par78 
Par79 
Par80 
Par81 
Par82 
Par83 
Par84 
Par85 
Par86 
Par87 
Par88 
Par89 
Par90 
Par91 
Par92 
Par93 
Par94 
Par95 
Par96 
Par97 
Par98 
Par99 
Par100 
Par101 
Par102 
Par103 
Par104 
Par105 
Par106 
Par107 
Par108 
Par109 
Par110 
Par111 
Par112 
Par113 
Par114 
Par115 
Par116 
Par117 
Par118 
Par119 
Par120 
Par121 
Par122 
Par123 
Par124 
Par125 
Par126 
Par127 
Par128 
Par129 
Par130 
Par131 
Par132 
Par133 
Par134 
Par135 
Par136 
Par137 
Par138 
Par139 
Par140 
Par141 
Par142 
Par143 
Par144 
Par145 
Par146 
Par147 
Par148 
Par149 
Par150 
Par151 
Par152 
Par153 
Par154 
Par155 
Par156 
Par157 
Par158 
Par159 
Par160 
Par161 
Par162 
Par163 
Par164 
Par165 
Par166 
Par167 
Par168 
Par169 
Par170 
Par171 
Par172 
Par173 
Par174 
Par175 
Par176 
Par177 
Par178 
Par179 
Par180 
Par181 
Par182 
Par183 
Par184 
Par185 
Par186 
Par187 
Par188 
Par189 
Par190 
Par191 
Par192 
Par193 
Par194 
Par195 
Par196 
Par197 
Par198 
Par199 
Par200 
Par201 
Par202 
Par203 
Par204 
Par205 
Par206 
Par207 
Par208 
Par209 
Par210 
Par211 
Par212 
Par213 
Par214 
Par215 
Par216 
Par217 
Par218 
Par219 
Par220 
Par221 
Par222 
Par223 
Par224 
Par225 
Par226 
Par227 
Par228 
Par229 
Par230 
Par231 
Par232 
Par233 
Par234 
Par235 
Par236 
Par237 
Par238 
Par239 
Par240 
Par241 
Par242 
Par243 
Par244 
Par245 
Par246 
Par247 
Par248 
Par249 
Par250 
Par251 
Par252 
Par253 
Par254 

◆ SurfaceEdgeDraw

Enumerator
Squared 
Tapered 
Flat 

◆ SurfaceScatteringTypes

Enumerator
None 
Lambertian 
Gaussian 
ABg 
ABgFile 
BSDF 
User 
ISScatterCatalog 

◆ SurfaceType

All available surface types.

Usage (see Example 19 for a full sample)

C#

// To change surface type, we need to first get an ISurfaceTypesettings and then assign it.
ISurfaceTypeSettings SurfaceType_CB = TheLDE.GetSurfaceAt(4).GetSurfaceTypeSettings(SurfaceType.CoordinateBreak);
TheLDE.GetSurfaceAt(4).ChangeType(SurfaceType_CB);
This interface is used for selecting any files required by a surface, and for changing surface types....
Definition: InterfacesLDE.cs:746
SurfaceType
All available surface types.
Definition: InterfacesLDE.cs:27

C++

// To change surface type, we need to first get an ISurfaceTypesettings and then assign it.
ISurfaceTypeSettingsPtr SurfaceType_CB = TheLDE->GetSurfaceAt(4)->GetSurfaceTypeSettings(SurfaceType_CoordinateBreak);
TheLDE->GetSurfaceAt(4)->ChangeType(SurfaceType_CB);

Matlab

% To change surface type, we need to first get an ISurfaceTypesettings and then assign it.
SurfaceType_CB = TheLDE.GetSurfaceAt(4).GetSurfaceTypeSettings(ZOSAPI.Editors.LDE.SurfaceType.CoordinateBreak);
TheLDE.GetSurfaceAt(4).ChangeType(SurfaceType_CB);

Python

# To change surface type, we need to first get an ISurfaceTypesettings and then assign it.
SurfaceType_CB = TheLDE.GetSurfaceAt(4).GetSurfaceTypeSettings(ZOSAPI.Editors.LDE.SurfaceType.CoordinateBreak)
TheLDE.GetSurfaceAt(4).ChangeType(SurfaceType_CB)
Enumerator
ABCD 
AlternateEven 
AlternateOdd 
AnnularZernikeSag 
Atmospheric 
Biconic 
BiconicZernike 
Binary1 
Binary2 
Binary3 
Binary4 
BirefringentIn 
BirefringentOut 
BlackBoxLens 
ChebyShv 
Conjugate 
CoordinateBreak 
CubicSpline 
CylinderFrensel 
CylinderFresnel 
Data 
DiffractionGrating 
EllipticalGrating1 
EllipticalGrating2 
EvenAspheric 
ExtendedToroidalGrating 
ExtendedAsphere 
ExtendedCubicSpline 
ExtendedFresnel 
ExtendedOddAsphere 
ExtendedPolynomial 
Fresnel 
GeneralizedFresnel 
Gradient1 
Gradient2 
Gradient3 
Gradient4 
Gradient5 
Gradient6 
Gradient7 
Gradient9 
Gradient10 
Gradient12 
Gradium 
GridGradient 
GridPhase 
GridSag 
Hologram1 
Hologram2 
Irregular 
JonesMatrix 
NonSequential 
OddAsphere 
OddCosine 
OffAxisConicFreeform 
OpticallyFabricatedHologram 
Paraxial 
ParaxialXY 
Periodic 
Polynomial 
QTypeAsphere 
QTypeFreeform 
RadialGrating 
RadialNurbs 
RetroReflect 
SlideSurface 
Standard 
Superconic 
Tilted 
Toroidal 
ToroidalGrat 
ToroidalHologram 
ToroidalNurbs 
UserDefined 
VariableLineSpaceGrating 
ZernikeAnnularPhase 
ZernikeFringePhase 
ZernikeFringeSag 
ZernikeStandardPhase 
ZernikeStandardSag 
ZonePlate 
Freeform 

◆ TiltDecenterOrderType

Enumerator
Decenter_Tilt 
Tilt_Decenter 

◆ TiltDecenterPickupType

Enumerator
Explicit 
PickupSurface 
ReverseSurface 

◆ TiltType

Enumerator
XTilt 
YTilt 

◆ XYSampling

Enumerator
S32 
S64 
S128 
S256 
S512 
S1024 
S2048 
S4096 
S8192 
S16384 

Connect with Ansys