


{"id":402991,"date":"2024-12-30T19:54:47","date_gmt":"2024-12-30T19:54:47","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/zpl-macros-not-working\/"},"modified":"2024-12-30T19:54:47","modified_gmt":"2024-12-30T19:54:47","slug":"zpl-macros-not-working","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/zpl-macros-not-working\/","title":{"rendered":"ZPL Macros not working"},"content":{"rendered":"<p>&lt;p&gt;I understand that &#8220;Programming functionality (ZPL, ZOS-API, User Defined DLLs) is not supported&#8221; with the student version of Zemax. Does that mean if a company sends me a .zar file equipped with ZPL macros that they won&#8217;t work as well?&nbsp;&lt;\/p&gt;&lt;p&gt;Note: I&#8217;m working with a variable focus lens and am attempting to change the voltage applied to the lens to change the focal length. This voltage is updated via ZPL macros, per the document provided by the company. I&#8217;m using OpticStudio 2024 R2.02.&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-402991","topic","type-topic","status-publish","hentry","topic-tag-macros","topic-tag-opticstudio","topic-tag-student-version","topic-tag-zpl"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27784"],"_bbp_topic_id":["402991"],"_bbp_subscription":["498151","72414"],"_bbp_author_ip":["172.4.203.230"],"_bbp_last_reply_id":["403100"],"_bbp_last_active_id":["403100"],"_bbp_last_active_time":["2024-12-31 18:11:49"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["498151","72414"],"_btv_view_count":["205"],"_bbp_topic_status":["unanswered"]},"test":"nross3nd-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/402991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/402991\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=402991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}