


{"id":403866,"date":"2025-01-07T09:56:20","date_gmt":"2025-01-07T09:56:20","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/named-selections-scripting-and-modification-of-holes-position-on-a-plate-reg\/"},"modified":"2025-01-07T09:56:20","modified_gmt":"2025-01-07T09:56:20","slug":"named-selections-scripting-and-modification-of-holes-position-on-a-plate-reg","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/named-selections-scripting-and-modification-of-holes-position-on-a-plate-reg\/","title":{"rendered":"Named selections, scripting and modification of holes position on a plate: reg"},"content":{"rendered":"<p>&lt;p&gt;Hello All,&lt;\/p&gt;&lt;p&gt;Requirements :&nbsp;&lt;\/p&gt;&lt;p&gt;I have to attach a point mass with these 4 points as interface.&lt;\/p&gt;&lt;p&gt;I want to <strong>move the 4 holes as<\/strong> per my requirements <strong>using scripting<\/strong> and want to <strong>associate the point mass with these 4 holes<\/strong>.&lt;\/p&gt;&lt;p&gt;I want to<strong> move these 4 holes<\/strong> and want to<strong> change the relative distance<\/strong> between them using scripting.&lt;\/p&gt;&lt;p&gt;I have gone through some videos, but it has been confusing.&nbsp;&lt;\/p&gt;&lt;p&gt;Some suggest to go with<strong> named selection<\/strong>, some with <strong>parametrization<\/strong>, and <strong>some with scripting<\/strong>.&lt;\/p&gt;&lt;p&gt;I assume scripting will be better if i want to scale this kind of problem, where i have any number of point masses and interfaces.&lt;\/p&gt;&lt;p&gt;I am <strong>new to ansys scripting<\/strong>. Kindly <em><strong>share with me<\/strong><\/em> if there is any way to resolve this.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2025\/01\/07-01-2025-1736243373-Holes on a plate.png\" alt=\"\" \/>&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-403866","topic","type-topic","status-publish","hentry","topic-tag-named-selection-problem","topic-tag-named-selections","topic-tag-script"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["403866"],"_bbp_subscription":["440057","440006","436953"],"_bbp_author_ip":["14.139.105.210"],"_bbp_last_reply_id":["403890"],"_bbp_last_active_id":["403890"],"_bbp_last_active_time":["2025-01-07 11:36:02"],"_bbp_reply_count":["4"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["3"],"_bbp_engagement":["440057","440006","436953"],"_btv_view_count":["212"],"_bbp_topic_status":["unanswered"]},"test":"tanmay-singhalpiersight-space"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/403866","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\/403866\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=403866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}