Please note that you need to do this only when you change the text setting in Zemax and not for every session. You can check the current text encoding by calling pyz.getTextEncoding() function. ![]() By default, UNICODE text encoding is set in PyZDDE. Please set the appropriate text encoding in PyZDDE by calling module function pyz.setTextEncoding(text_encoding) (assuming that PyZDDE was imported as import pyzdde.zdde as pyz). ANSI/UNICODE TEXT ENCODING: PyZDDE supports both ANSI and UNICODE text from Zemax.To do so, please enable the option "Allow Extensions to Push Lenses", under File->Preferences->Editors tab. In order to copy the lens from the DDE server to the Zemax application /LDE, you need to "push" the lens from the server to the LDE. PUSH LENS PERMISSION: All operations through the DDE affect the lens in the DDE server (except for array ray tracing).The PyZDDE documentation is currently hosted in the GitHub Wiki. ![]() To get the latest PyZDDE code please download / fork / clone from
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |