


{"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":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hello everyone: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&#039;t solve two problems.One is that the python code can read the initial position of copper squares which I name\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"The trouble-shooting that using python to control HFSS | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Hello everyone: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&#039;t solve two problems.One is that the python code can read the initial position of copper squares which I name\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-01-01T18:29:51+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-01-01T18:29:51+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"The trouble-shooting that using python to control HFSS | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hello everyone: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&#039;t solve two problems.One is that the python code can read the initial position of copper squares which I name\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/the-trouble-shooting-that-using-python-to-control-hfss\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/the-trouble-shooting-that-using-python-to-control-hfss\\\/#listItem\",\"name\":\"The trouble-shooting that using python to control HFSS\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/the-trouble-shooting-that-using-python-to-control-hfss\\\/#listItem\",\"position\":3,\"name\":\"The trouble-shooting that using python to control HFSS\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/the-trouble-shooting-that-using-python-to-control-hfss\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/the-trouble-shooting-that-using-python-to-control-hfss\\\/\",\"name\":\"The trouble-shooting that using python to control HFSS | Ansys Learning Forum\",\"description\":\"Hello everyone: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't solve two problems.One is that the python code can read the initial position of copper squares which I name\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/the-trouble-shooting-that-using-python-to-control-hfss\\\/#breadcrumblist\"},\"datePublished\":\"2025-01-01T18:29:51+00:00\",\"dateModified\":\"2025-01-01T18:29:51+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"The trouble-shooting that using python to control HFSS | Ansys Learning Forum","description":"Hello everyone: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't solve two problems.One is that the python code can read the initial position of copper squares which I name","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/#listItem","name":"The trouble-shooting that using python to control HFSS"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/#listItem","position":3,"name":"The trouble-shooting that using python to control HFSS","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/","name":"The trouble-shooting that using python to control HFSS | Ansys Learning Forum","description":"Hello everyone: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't solve two problems.One is that the python code can read the initial position of copper squares which I name","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/#breadcrumblist"},"datePublished":"2025-01-01T18:29:51+00:00","dateModified":"2025-01-01T18:29:51+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"The trouble-shooting that using python to control HFSS | Ansys Learning Forum","og:description":"Hello everyone: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't solve two problems.One is that the python code can read the initial position of copper squares which I name","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/","article:published_time":"2025-01-01T18:29:51+00:00","article:modified_time":"2025-01-01T18:29:51+00:00","twitter:card":"summary_large_image","twitter:title":"The trouble-shooting that using python to control HFSS | Ansys Learning Forum","twitter:description":"Hello everyone: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't solve two problems.One is that the python code can read the initial position of copper squares which I name"},"aioseo_meta_data":{"post_id":"403166","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2025-10-19 10:50:48","updated":"2026-09-17 15:08:20","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tThe trouble-shooting that using python to control HFSS\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"The trouble-shooting that using python to control HFSS","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/the-trouble-shooting-that-using-python-to-control-hfss\/"}],"acf":[],"custom_fields":[{"0":{"_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":["497"],"_bbp_topic_status":["unanswered"],"_bbp_subscription":["28551"],"_bbp_topic_id":["403166"],"_bbp_forum_id":["275024"]},"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}]}}