I am new to DLL programming for Zemax. I have an older file using the Fixed-Data 3 standard. This should support 201 parameters. Unfortuneatly in the LDE editor a maximum of 12 Parameter columns are generated even if i define more. Is there a cap of how many parameters can be displayes as input in the LDE?
Solved
User Defined Surfare shows only 12 Parameters in LDE
Best answer by MichaelH
Hi Adrian,
You cannot access those values anymore. When Zemax switched from Z13 to OpticStudio, the developers refactored the internal code and removed the Extra Data parameters. You are now limited to the FD->max_parameter
value. If you need to use 500 static values for your surface, you can save the data as a text file which is read in when the UDS is first loaded. However, if you need to optimize on 500 dynamic values, you will not be able to do this.
I would suggest using the FD5 struct (and the limits of this struct) and not trying to use a deprecated version.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.