Skip to main content
Solved

How can I return the settings of my DLL surface?

  • February 11, 2019
  • 1 reply
  • 64 views

Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 337 replies

I am working with a system that has a user-defined DLL surface and want to obtain the settings. The ZOS-API recognizes that I am using a user-defined DLL but is not returning the correct file as defined in my code.

Best answer by Allie

You can use the property CurrentTypeSettings (of the ILDERow interface) to retrieve the current settings for the surface.

Note that the property CurrentTypeSettings and not the method GetCurrentTypeSettings() should be used, as the latter command will create a new ISurfaceTypeSettings instance instead of referencing the current.

 

 

View original
Did this topic help you find an answer to your question?

1 reply

Allie
Zemax Staff
Forum|alt.badge.img+2
  • Author
  • Zemax Staff
  • 337 replies
  • Answer
  • February 11, 2019

You can use the property CurrentTypeSettings (of the ILDERow interface) to retrieve the current settings for the surface.

Note that the property CurrentTypeSettings and not the method GetCurrentTypeSettings() should be used, as the latter command will create a new ISurfaceTypeSettings instance instead of referencing the current.

 

 


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