


{"id":403166,"date":"2025-01-01T18:29:51","date_gmt":"2025-01-01T18:29:51","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/"},"modified":"2025-01-01T18:29:51","modified_gmt":"2025-01-01T18:29:51","slug":"the-trouble-shooting-that-using-python-to-control-hfss","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/","title":{"rendered":"The trouble-shooting that using python to control HFSS"},"content":{"rendered":"<p>&lt;p&gt;Hello everyone:&lt;\/p&gt;&lt;p&gt;I am doing the project that using python code to changing the positions of 30 copper squares on FR4 with Genetic algorithm to get a structure with uniform far field Bistatic RCSTotal. But I can&#8217;t solve two problems.&lt;\/p&gt;&lt;p&gt;One is that the python code can read the initial position of copper squares which I name them UnitCell1, UnitCell2, &#8230;UnitCell30.There are error messages saying like &#8220;Error getting position for UnitCell1:&nbsp; SetActiveEditor.GetObjectProperties&#8221; , &#8230;&lt;\/p&gt;&lt;p&gt;The other is that when the code runs into GA,&nbsp; there are error messages saying like &#8220;Error during mesh generation: SetActiveEditor.Rebuild&#8221; , &#8230;&lt;\/p&gt;&lt;p&gt;I have checked the aedt file and ensured that the file can be conducted by myself. Please help me to give me some solid suggestions. My python file and aedt file are below in the link. Furtheremore, if you want to run my python, don&#8217;t open the aedt file firstly. Thank you very much!!&lt;\/p&gt;&lt;p&gt;https:\/\/drive.google.com\/drive\/folders\/1G_ZqqjLcp39959UT5nA25JxwZA-Ea5xC&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-403166","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["275024"],"_bbp_topic_id":["403166"],"_bbp_author_ip":["1.161.121.188"],"_bbp_last_reply_id":["404531"],"_bbp_last_active_id":["404531"],"_bbp_last_active_time":["2025-01-11 12:36:57"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["340103","28551"],"_btv_view_count":["344"],"_bbp_topic_status":["unanswered"],"_bbp_subscription":["28551"]},"test":"r11942035g-ntu-edu-tw"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/403166","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\/403166\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=403166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}