首页 -> 登录 -> 注册 -> 回复主题 -> 发表主题
光行天下 -> ZEMAX,OpticStudio -> 无需特殊工具将新版ZMX以及AGF文件转成旧版的 [点此返回论坛查看本帖完整版本] [打印本页]

linlin911911 2013-03-26 14:54

无需特殊工具将新版ZMX以及AGF文件转成旧版的

Back in 2009, Zemax was using ANSI encoding for the ZMX files. In 2010, they switched from ANSI to Unicode encoding. This means that if you try to open a newer Unicode encoded file in an older version of Zemax, it will not load. The way to get around this is just to convert the file from Unicode to ANSI. I've done this successfully using a text editor, but they also added the ZPL keyword CONVERTFILEFORMAT to convert text files between ANSI and Unicode encoding formats. I haven't used it, but I imagine you could just run a loop on all of your ZMX files with this keyword. ^q_wtuQ  
_Ss}dU9  
从这段文字可以看到只要ZEMAX 2010年及更新版本的.zmx .agf等文件,用高级些文本编辑工具打开后,另存为ANSI编码格式。之后就可以用旧版的ZEMAX程序打开,无需特殊的转换工具。 3ZC@q #R A  
tU$n3Bg  
之前给大家提供的新华光玻璃库就是这么转换过来的。 =;GmLi3A  
rb}fP #j  
(引用:www.radiantzemax.com/forum-en/Topic1050.aspx pP#D*hiP-g  
rickygu 2013-03-27 16:33
謝謝分享`~
zhxchong 2013-10-12 17:10
謝謝分享`~
sunbader 2016-12-28 23:19
关键就是没有2010以上版本的zemax啊 \03<dUA6  
查看本帖完整版本: [-- 无需特殊工具将新版ZMX以及AGF文件转成旧版的 --] [-- top --]

Copyright © 2005-2024 光行天下 蜀ICP备06003254号-1 网站统计