


{"id":358890,"date":"2024-03-25T21:34:37","date_gmt":"2024-03-25T21:34:37","guid":{"rendered":"\/forum\/forums\/topic\/advanced-material-plugin-dll-generation\/"},"modified":"2024-05-17T15:15:32","modified_gmt":"2024-05-17T15:15:32","slug":"advanced-material-plugin-dll-generation","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/advanced-material-plugin-dll-generation\/","title":{"rendered":"Advanced material plugin: DLL generation"},"content":{"rendered":"<p>I wanted to define and modify a two-level system model based on the instructions in <a href=\"https:\/\/d3thprdkpebann.cloudfront.net\/videos\/Lumerical_Material_Plugin_Practical_Demo_p2.mp4\">this video<\/a>. I followed the procedure exactly and worked with the files on the <a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360034394734-Advanced-and-custom-optical-material-models-in-FDTD-and-MODE\">official webpage<\/a> (twolevelexample.zip). The DLL file was successfully generated, and the output log is similar to the one in that video. However, I couldn&#8217;t find the new material in the list after copying the generated DLL file into the appropriate directory. I guess something is wrong with my generated DLL file because the new material appeared on the list when I used the original DLL available in (twolevelexample.zip). In other words, the program did not recognize the DLL file and the material associated with that. I tried the same procedure for other materials and their associated DLLs, e.g., step-index, and got similar similar disappointing results. Thanks in advance for the helpful comments and solutions.<\/p>\n","protected":false},"template":"","class_list":["post-358890","topic","type-topic","status-closed","hentry","topic-tag-advanced-features","topic-tag-material","topic-tag-material-models","topic-tag-plugin-2"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["70729","2592"],"_bbp_author_ip":["23.206.193.154"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["350"],"_bbp_topic_status":["answered"],"_bbp_likes_count":["1"],"_bbp_topic_id":["358890"],"_bbp_forum_id":["27833"],"_bbp_engagement":["2592","70729"],"_bbp_voice_count":["2"],"_bbp_last_reply_id":["359302"],"_bbp_last_active_id":["359302"],"_bbp_last_active_time":["2024-03-27 16:00:31"]},"test":"tavakgatech-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/358890","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":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/358890\/revisions"}],"predecessor-version":[{"id":367360,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/358890\/revisions\/367360"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=358890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}