Skip to main content
Solved

Position solve in multi configuration


John.Hygelund
Fully Spectral
Forum|alt.badge.img+1

Can one use position solves in the multi-configuration editor? They are not populated as an option in the ‘THIC’ operand. 

 

Thank you,

John

Best answer by Csilla Timar-Fulep

Hi All,

Thanks for your posts here on the Community forums!

Unfortunately, Position solves are currently not available from the Multi-Config Editor on THIC operands.

Besides Mike’s suggestion to use optimization targets, I can think of the following possible workaround for this scenario. In the Multi-Config Editor, you can select the ZPL Macro solve type on THIC operands, and write a ZPL macro solve that essentially does a position solve. It would take the thickness data of the previous surfaces, and then calculate the last needed thickness based on the set criteria and sets this calculated value. When using the ZPL Macro solve type, you may specify any macro to use as a solve by the name of the macro.

You may find more details about how to write macro solves in this knowledgebase article:
How to create a user-defined solve using the Zemax Programming Language (ZPL) – Knowledgebase

 

Also, I would like to let you know that there is an open feature request in our internal system for this functionality. I have gone ahead and added your votes to this feature request.
Please keep in mind that feature requests are weighed based on impact, difficulty to implement, and the number of users who request it. A request is not a guarantee that the feature will be added to a future release. However, these feature requests are very important to us and shape the future of OpticStudio, so we appreciate your input regarding desired functionality. Thanks again!

 

Finally, let me refer to the following forum thread about Thickess Solves and how to use them in multi-config systems:
Thickness Solves | Zemax Community

 

Best,
Csilla

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

8 replies

Mike.Jones
En-Lightened
Forum|alt.badge.img+3
  • En-Lightened
  • 113 replies
  • August 29, 2021

I’ve had the same issue, and wish they’d fully populate all the solve options in multiconfiguration.  Meanwhile, I’ve solved this by constructing position optimization targets in the MFE by using global operands like GLCX, GLCY, GLCZ.  I never assume any surface is (0,0,0), that will turn around and bite you.  I always solve positions as differences in global coordinates, either with zeros or with desired offsets.  HTH, Mike


Csilla Timar-Fulep
Zemax Staff
Forum|alt.badge.img+2

Hi All,

Thanks for your posts here on the Community forums!

Unfortunately, Position solves are currently not available from the Multi-Config Editor on THIC operands.

Besides Mike’s suggestion to use optimization targets, I can think of the following possible workaround for this scenario. In the Multi-Config Editor, you can select the ZPL Macro solve type on THIC operands, and write a ZPL macro solve that essentially does a position solve. It would take the thickness data of the previous surfaces, and then calculate the last needed thickness based on the set criteria and sets this calculated value. When using the ZPL Macro solve type, you may specify any macro to use as a solve by the name of the macro.

You may find more details about how to write macro solves in this knowledgebase article:
How to create a user-defined solve using the Zemax Programming Language (ZPL) – Knowledgebase

 

Also, I would like to let you know that there is an open feature request in our internal system for this functionality. I have gone ahead and added your votes to this feature request.
Please keep in mind that feature requests are weighed based on impact, difficulty to implement, and the number of users who request it. A request is not a guarantee that the feature will be added to a future release. However, these feature requests are very important to us and shape the future of OpticStudio, so we appreciate your input regarding desired functionality. Thanks again!

 

Finally, let me refer to the following forum thread about Thickess Solves and how to use them in multi-config systems:
Thickness Solves | Zemax Community

 

Best,
Csilla


Mike.Jones
En-Lightened
Forum|alt.badge.img+3
  • En-Lightened
  • 113 replies
  • September 3, 2021

+1 from me for providing ALL solves in the multiconfiguration editor.  


Csilla Timar-Fulep
Zemax Staff
Forum|alt.badge.img+2

Hi Mike,

Thanks for your message and feedback.

I have added your votes to the multi-config solve feature requests in our internal system.

All the best,
Csilla


David
Luminary
Forum|alt.badge.img+4
  • Luminary
  • 336 replies
  • September 3, 2021

Hi Csilla,

Please add my vote to that as well.


Csilla Timar-Fulep
Zemax Staff
Forum|alt.badge.img+2

Hi David,

Done, I have added your vote.

Please keep in mind that feature requests are weighed based on impact, difficulty to implement, and the number of users who request it. A request is not a guarantee that the feature will be added to a future release.

Thanks for your input.

 


  • Ultraviolet
  • 25 replies
  • September 21, 2022

Hello Csilla - Please add my vote to this request as well.


Mark.Nicholson
Luminary
Forum|alt.badge.img+3

There is a workaround. Define several dummy surfaces, each with one variant of the position solve. Then in the MCE ignore all but one, and zoom which surface is not ignored.


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