Skip to main content

Dear all,

 

I’m currently developing several Marcos for a specific system. I’m wondering if there is a method in ZEMAX that can let me to encapsulate my code like a black box? 

 

Best wishes

Daoming

No, there is no encryption system for macros within OpticStudio.


Hello,

I am following up on this request to encrypt the content of a zpl macro in Zemax. Is there a way to write a script in Pyhton, encrypt this code and call such fonction from my zpl macro?

 

Best regards


Use a compiled (EXE) C#/C++ code with the ZOS-API.  This is not “encrypted” but the files will be binary and unreadable.  


Reply