


{"id":235132,"date":"2022-09-13T14:08:19","date_gmt":"2022-09-13T14:08:19","guid":{"rendered":"\/forum\/forums\/topic\/pemag-script-error-80070213-while-writing-fields-for-3d-fea-model\/"},"modified":"2022-09-13T14:08:19","modified_gmt":"2022-09-13T14:08:19","slug":"pemag-script-error-80070213-while-writing-fields-for-3d-fea-model","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pemag-script-error-80070213-while-writing-fields-for-3d-fea-model\/","title":{"rendered":"PEmag Script Error 80070213 while Writing fields for 3D FEA model"},"content":{"rendered":"<p>I have constructed a planar transformer using PEmag, of which I was able to generate a 2D FEA model. However, when I now try to generate a 3D FEA model I get the following error when the process reaches &#8216;Writing Fields&#8217;.&nbsp;<br \/>&nbsp;<img decoding=\"async\" title=\"PEmag error\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/09\/13-09-2022-1663077750-3DFEAerrorPEmag.JPG\" alt=\"\"><br \/><em>Ansys Electronics Desktop Version 2022.1.0, Build: 2021-11-22 22:18:25<\/em><br \/><em>Location: C:\\Program Files\\AnsysEM\\v221\\Win64\\ansysedt.exe<\/em><br \/><em>Description: Error in performing operation.<\/em><br \/><em>Line(40): &nbsp;&#8221; &nbsp; &nbsp;oModule.CalculatorWrite &#8220;J&#8221; + CStr(w1 + 1) + &#8220;_&#8221; + CStr(f + 1) + &#8220;.reg&#8221;, _&#8221;<\/em><\/p>\n<p><em>[Exiting application]<\/em><br \/><em>&#8212; Message Window &#8212;<\/em><br \/><em>&nbsp; &nbsp; &nbsp; *Global &#8211; Messages<\/em><br \/><em>&nbsp; &nbsp; &nbsp; &nbsp; [error] Script macro error: Script Error (Code 80070213) in file: &nbsp;C:\/[&#8230;]\/PEmag_ER237.pjt\/WriteFields.vbs Description: Error in performing operation. Line(40): &nbsp;&#8221; &nbsp; &nbsp;oModule.CalculatorWrite &#8220;J&#8221; + CStr(w1 + 1) + &#8220;_&#8221; + CStr(f + 1) + &#8220;.reg&#8221;, _&#8221;&nbsp;<\/em><br \/><em>&#8212; Message Window &#8212;<\/p>\n<p><\/em>I looked into the Help functions of PEmag and browsed the internet to find a solution, unfortunately to no avail. Let me know how I can prevent this error from occuring.<\/p>\n<p>Thank you in advance!<\/p>\n","protected":false},"template":"","class_list":["post-235132","topic","type-topic","status-closed","hentry","topic-tag-3d","topic-tag-ansys-maxwell-3d","topic-tag-error-code-1","topic-tag-HFtransformer-1","topic-tag-maxwell-pemag","topic-tag-troubleshooting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["261848","186775","264435"],"_bbp_author_ip":["96.7.74.173"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_bbp_likes_count":["1"],"_btv_view_count":["1199"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["235132"],"_bbp_forum_id":["27793"],"_bbp_engagement":["186775","261848","264435"],"_bbp_voice_count":["3"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["238242"],"_bbp_last_active_id":["238242"],"_bbp_last_active_time":["2022-10-20 13:21:32"]},"test":"bram-oudeaarninkhoflightyear-one"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/235132","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\/235132\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=235132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}