Skip to main content

I’m working on a pair of DLL files. The sag of the second DLL depends on the parameters of the first DLL, plus a few other parameters. What’s the best way to share information between these two user-defined surfaces? Do I need to add pickups for every parameter (manually or via script)? Or is there some way to pass the entire 1st surface as a parameter/argument to the 2nd surface?

@ellenlee619

 

I think Pickups are a good idea, there’s also a possibility to have some data in a text file that the DLLs can pickup, see the following Knowledge Base Article and forum post:

https://support.zemax.com/hc/en-us/articles/1500005576142-How-to-read-a-static-data-file-into-a-user-defined-surface

although I imagine it must add some overhead compared to Pickups.

Take care,

 

David


I think there may also be a DATA surface that is intended for even more data to be passed to dlls, but I;m not on a machine with Zemax on to conform.


Indeed, and I think @Mark.Nicholson is talking about this post (correct me if I’m wrong):

Take care,

 

David


Reply