


{"id":377325,"date":"2024-08-06T05:29:24","date_gmt":"2024-08-06T05:29:24","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/"},"modified":"2024-08-06T05:29:24","modified_gmt":"2024-08-06T05:29:24","slug":"inconsistent-python-script-execution-in-ansys-mechanical-need-assistance","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/","title":{"rendered":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance!"},"content":{"rendered":"<p>The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.<\/p>\n<p style=\"padding-left: 40px\">import json<\/p>\n<p style=\"padding-left: 40px\">def after_post(this, solution): # Do not edit this line<br \/>&nbsp; &nbsp; print(&#8220;post script&#8221;)<br \/>&nbsp; &nbsp; mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0])<br \/>&nbsp; &nbsp; solution = Model.Analyses[0].Solution<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; node_count = mesh.NodeCount<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; aset = Model.Analyses[0].AnalysisSettings<br \/>&nbsp; &nbsp; steps = aset.NumberOfSteps<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; solution = Model.Analyses[0].Solution<br \/>&nbsp; &nbsp; base_dir = &#8220;C:\\\\temp\\\\&#8221;<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; data = {}<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; for step in range(steps): &nbsp;# steps<br \/>&nbsp; &nbsp; &nbsp; &nbsp; time = aset.GetStepEndTime(step + 1)<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; for obj in solution.Children:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name = obj.Name<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if name in [&#8220;LOCX&#8221;, &#8220;LOCY&#8221;, &#8220;LOCZ&#8221;, &#8220;UX&#8221;, &#8220;UY&#8221;, &#8220;UZ&#8221;]:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; obj.DisplayTime = time<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; solution.EvaluateAllResults()<br \/>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; timestep_data = []<br \/>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; LOCX = DataModel.GetObjectsByName(&#8220;LOCX&#8221;)[0].PlotData<br \/>&nbsp; &nbsp; &nbsp; &nbsp; LOCY = DataModel.GetObjectsByName(&#8220;LOCY&#8221;)[0].PlotData<br \/>&nbsp; &nbsp; &nbsp; &nbsp; LOCZ = DataModel.GetObjectsByName(&#8220;LOCZ&#8221;)[0].PlotData<br \/>&nbsp; &nbsp; &nbsp; &nbsp; UX = DataModel.GetObjectsByName(&#8220;UX&#8221;)[0].PlotData<br \/>&nbsp; &nbsp; &nbsp; &nbsp; UY = DataModel.GetObjectsByName(&#8220;UY&#8221;)[0].PlotData<br \/>&nbsp; &nbsp; &nbsp; &nbsp; UZ = DataModel.GetObjectsByName(&#8220;UZ&#8221;)[0].PlotData<br \/>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; for i in range(len(LOCX[&#8216;Node&#8217;])):<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; node_data = [<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LOCX[&#8220;Values&#8221;][i],<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LOCY[&#8220;Values&#8221;][i],<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LOCZ[&#8220;Values&#8221;][i],<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UX[&#8220;Values&#8221;][i],<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UY[&#8220;Values&#8221;][i],<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UZ[&#8220;Values&#8221;][i]<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; timestep_data.append(node_data)<br \/>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; &nbsp; &nbsp; data[str(step + 1)] = timestep_data<br \/>&nbsp; &nbsp;&nbsp;<br \/>&nbsp; &nbsp; sorted_data = {k: data[k] for k in sorted(data)}<br \/>&nbsp; &nbsp; json_file_path = base_dir + &#8220;example.json&#8221;<br \/>&nbsp; &nbsp; with open(json_file_path, &#8216;w&#8217;) as json_file:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; json.dump(sorted_data, json_file, indent=4)<\/p>\n<p style=\"padding-left: 40px\">&nbsp; &nbsp; print(&#8220;Data saved to&#8221;, json_file_path)<br \/>&nbsp; &nbsp; pass<\/p>\n<p>When solving this simulation, the following error occurs. The very strange thing is that when solving the exact same file 10 times, this error occurs about 8 times, while it runs successfully about 2 times. We have not yet identified the cause. Your help is urgently needed!<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px\">Error<\/p>\n<p style=\"padding-left: 40px\">Error when invoking function &#8216;after_post&#8217;.Traceback (most recent call last):<br \/>File &#8220;&lt;string&gt;&#8221;, line 30, in after_post<br \/>StandardError: Exception has been thrown by the target of an invocation.Traceback (most recent call last):<br \/>File &#8220;&lt;string&gt;&#8221;, line 30, in after_post<br \/>NotImplementedError: PlotData is not supported for LOCX<\/p>\n<p style=\"padding-left: 40px\">Python Code &#8220;Python Code&#8221; (Object ID 721) execution aborted: recursive execution has been detected. This is typically caused by an &#8220;update&#8221; or &#8220;evaluate&#8221; command. Please 1) verify the code correctness, and 2) ensure the correct callback is being used.<\/p>\n<p style=\"padding-left: 40px\">An error occurred when the post processor attempted to load a specific result. Please review all messages.<\/p>\n","protected":false},"template":"","class_list":["post-377325","topic","type-topic","status-publish","hentry","topic-tag-error-explicit-dynamics","topic-tag-python-scripting","topic-tag-python-scripts-2","topic-tag-script"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(&quot;post script&quot;) mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/\" \/>\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=\"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(&quot;post script&quot;) mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-08-06T05:29:24+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-08-06T05:29:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(&quot;post script&quot;) mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount\" \/>\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\\\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\\\/#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-tag\\\/script\\\/#listItem\",\"name\":\"script\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/script\\\/#listItem\",\"position\":3,\"name\":\"script\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/script\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\\\/#listItem\",\"name\":\"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance!\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\\\/#listItem\",\"position\":4,\"name\":\"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance!\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/script\\\/#listItem\",\"name\":\"script\"}}]},{\"@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\\\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\\\/\",\"name\":\"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum\",\"description\":\"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(\\\"post script\\\") mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\\\/#breadcrumblist\"},\"datePublished\":\"2024-08-06T05:29:24+00:00\",\"dateModified\":\"2024-08-06T05:29:24+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":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum","description":"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(\"post script\") mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/#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-tag\/script\/#listItem","name":"script"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/script\/#listItem","position":3,"name":"script","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/script\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/#listItem","name":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance!"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/#listItem","position":4,"name":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance!","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/script\/#listItem","name":"script"}}]},{"@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\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/","name":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum","description":"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(\"post script\") mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/#breadcrumblist"},"datePublished":"2024-08-06T05:29:24+00:00","dateModified":"2024-08-06T05:29:24+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":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum","og:description":"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(&quot;post script&quot;) mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/","article:published_time":"2024-08-06T05:29:24+00:00","article:modified_time":"2024-08-06T05:29:24+00:00","twitter:card":"summary_large_image","twitter:title":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance! | Ansys Learning Forum","twitter:description":"The script below is a Python code embedded in Ansys Mechanical. After the analysis is performed, the results of each step are intended to be saved into a JSON file.import jsondef after_post(this, solution): # Do not edit this line print(&quot;post script&quot;) mesh = DataModel.MeshDataByName(ExtAPI.DataModel.MeshDataNames[0]) solution = Model.Analyses[0].Solution node_count = mesh.NodeCount"},"aioseo_meta_data":{"post_id":"377325","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":"content","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":true,"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":"2024-10-28 16:34:17","updated":"2026-09-16 17:02:41","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\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/script\/\" title=\"script\">script<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tInconsistent Python Script Execution in Ansys Mechanical: Need Assistance!\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":"script","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/script\/"},{"label":"Inconsistent Python Script Execution in Ansys Mechanical: Need Assistance!","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/inconsistent-python-script-execution-in-ansys-mechanical-need-assistance\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["342596","170445"],"_bbp_author_ip":["143.248.221.83"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1734"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["377325"],"_bbp_forum_id":["27791"],"_bbp_engagement":["170445","342596"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["377600"],"_bbp_last_active_id":["377600"],"_bbp_last_active_time":["2024-08-07 17:37:05"]},"test":"sanghyukkimkaist-ac-kr"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/377325","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\/377325\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=377325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}