


{"id":362181,"date":"2024-04-15T10:29:46","date_gmt":"2024-04-15T10:29:46","guid":{"rendered":"\/forum\/forums\/topic\/insert-python-code-object-through-apdl-command-sheet-for-batch-automation\/"},"modified":"2024-04-15T10:29:46","modified_gmt":"2024-04-15T10:29:46","slug":"insert-python-code-object-through-apdl-command-sheet-for-batch-automation","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/insert-python-code-object-through-apdl-command-sheet-for-batch-automation\/","title":{"rendered":"Insert Python Code object through APDL command sheet for batch automation"},"content":{"rendered":"<p>Hello,<\/p>\n<p>Following my last week&#8217;s post (<a href=\"\/forum\/forums\/topic\/export-temperature-data-with-python-code-object\/\">Export temperature data with Python code object (ansys.com)<\/a>), I have a fully automated thermal analysis procedure allowing me to get the desired results by launching a batch instance of mAPDL, as it is the only way I found of doing that kind of thing in ANSYS Mechanical. In my analysis, I use already existing ANSYS databases. My question is, would it be possible to include the creation of a Python Code object for post-processing tasks inside an APDL command sheet? The command sheet would potentially be included inside the ANSYS database to be used for my analysis.<\/p>\n<p>&nbsp;<\/p>\n<p>I am used to creating temperature result objects inside these command sheets, but do not know if it is possible to creataae Python Code objects as well.<\/p>\n<p>&nbsp;<\/p>\n<p>I hope someone is familiar with such a topic and can give me a hand. Thank you all for your attention.<\/p>\n","protected":false},"template":"","class_list":["post-362181","topic","type-topic","status-closed","hentry","topic-tag-ansys-thermal-1","topic-tag-mechanical"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["275191","18229"],"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["304"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["362181"],"_bbp_forum_id":["27791"],"_bbp_engagement":["18229","275191"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["362716"],"_bbp_last_active_id":["362716"],"_bbp_last_active_time":["2024-04-17 14:02:44"]},"test":"ander-alvarezsafrangroup-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/362181","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\/362181\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=362181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}