


{"id":285281,"date":"2023-05-23T13:13:03","date_gmt":"2023-05-23T13:13:03","guid":{"rendered":"\/forum\/forums\/topic\/mechanical-scripting-accessing-nodes-associated-with-named-selections\/"},"modified":"2024-01-30T15:08:02","modified_gmt":"2024-01-30T15:08:02","slug":"mechanical-scripting-accessing-nodes-associated-with-named-selections","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/mechanical-scripting-accessing-nodes-associated-with-named-selections\/","title":{"rendered":"Mechanical Scripting &#8211; Accessing nodes associated with named selections"},"content":{"rendered":"<p>Hello,&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Using mechanical scripting in python, how can I access the nodes associated with a named selection?&nbsp;<br \/>For instance, if I had a named selection called ns that&#8217;s geometry is 2 edges how do I get mechanical scripting to access the nodes and the associated data on those edges?&nbsp;<\/p>\n<p>Thanks.&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-285281","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["11226","58821"],"_bbp_author_ip":["23.39.172.6"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["2474"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["285281"],"_bbp_forum_id":["27791"],"_bbp_engagement":["11226","58821"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["285485"],"_bbp_last_active_id":["285485"],"_bbp_last_active_time":["2023-05-24 12:44:47"]},"test":"jacob-garrisongdenergyproducts-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/285281","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\/285281\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=285281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}