


{"id":301555,"date":"2023-08-15T16:52:51","date_gmt":"2023-08-15T16:52:51","guid":{"rendered":"\/forum\/forums\/topic\/get-id-of-ansys-mechanical-system-using-python-code\/"},"modified":"2023-08-15T16:52:51","modified_gmt":"2023-08-15T16:52:51","slug":"get-id-of-ansys-mechanical-system-using-python-code","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/get-id-of-ansys-mechanical-system-using-python-code\/","title":{"rendered":"Get ID of Ansys Mechanical System using Python code"},"content":{"rendered":"<p>Hi! Is it possible to retrieve the ID of the currently open Ansys Mechanical System using Python code?<br \/>What I&#8217;m trying to get is the content of that &#8216;System ID&#8217; property associated with the currently opened Static Structural Mechanical System (see image below).<\/p>\n<p>Do you know a Python code line I can issue from Ansys Mechanical that allows to retrieve that ID string or any other way to get to it from within Ansys Mechanical using Python?<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/08\/15-08-2023-1692117947-mceclip0.png\"><\/p>\n<p>Thanks in advance for your time and help!<\/p>\n","protected":false},"template":"","class_list":["post-301555","topic","type-topic","status-closed","hentry","topic-tag-python-ironpython-1","topic-tag-act","topic-tag-mechanical"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["291509","58821"],"_bbp_author_ip":["96.7.218.223"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1143"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["301555"],"_bbp_forum_id":["27791"],"_bbp_engagement":["58821","291509"],"_bbp_voice_count":["2"],"_bbp_reply_count":["2"],"_bbp_last_reply_id":["302169"],"_bbp_last_active_id":["302169"],"_bbp_last_active_time":["2023-08-18 16:05:36"]},"test":"alberto-visentin-2studenti-unipd-it"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/301555","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\/301555\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=301555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}