Hello Qiang,
Thanks for your post here!
I have looked into this issue, but I could not reproduce your problem. I also increased the sampling so that it takes a long time to save to verify your problem.
To investigate this issue further, I would like to get some additional information from you. Could you please answer the questions below:
- Is it just one specific file giving you problems?
- What settings are you using in the configuration file?
- How many files are you creating? What size do they have?
- Could you please share your system prefereably as a ZAR file so that we can try to run the macro at our end?
If you don't want to share your file in the forum, you can either email it to support@zemax.com, or create a case in MyZemax and attach the file there.
Hope to hear from you soon so we can get this figured out!
Kind regards,
Csilla
Hi Qiang,
Thanks for your follow-up post here! I just wanted to drop a message here to let you know we've received your file and will be investigating deeper. Thanks for sending that along. We'll be following up with more details through that avenue.
To keep the conversation more general here on the forum, we do have a handy Knowledgebase article here which discusses some techniques in debugging your ZPL macros. It discusses details like defining a 'control' to turn a pseudo-debugging mode on/off to check your macro output among other best practices.
Thanks again, and we'll be in touch!
~ Angel