Skip to main content
Question

What is the use of ZOSAPI.AnalysisSettings.IAS_Surface.UseObjectiveSurface()


The usage of ZOSAPI.AnalysisSettings.IAS_Surface.UseObjectiveSurface() is not clearly documented. The only place where is appears is in the ZOSAPI introduction under “Changing Settings” to explain that an errormessage can be returned if it did not work. In contrast to ZOSAPI.AnalysisSettings.IAS_Surface.UseImageSurface(), which selects the image surface whenever available, it is unclear what UseObjectiveSurface() does. The only place where I have actually managed to get it to work is for the Start Surface in the PhysicalOpticsPropagation analysis, where it selects the Entrance Pupil. Is the intended use selecting surfaces that are not an actual surface within the model (such as the entrance pupil)?

2 replies

David.Nguyen
Luminary
Forum|alt.badge.img+2

@Luc.van Vught

 

I don’t know but could it be a typo? Perhaps it was meant to be UseObjectSurface()?

Take care,

 

David


Hi David,

This is exactly what we thought initially when implementing something around it in OpticStudio. However, there seem to be no analyses that allow you to use it to select the object surface (you rather have to select the surface number 0 if that is allowed at all). The only way I got it to work without an error message is to select ‘Ent. Pupil’ for the StartSurface of PyshicalOpticsPropagation. This question is thus more to make sure we are not missing some functionality!

 

Thank you anyway for your reply!

 

Cheers! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings