


{"id":369982,"date":"2024-06-05T19:36:53","date_gmt":"2024-06-05T19:36:53","guid":{"rendered":"\/forum\/forums\/topic\/namedselection-in-spaceclaim-script\/"},"modified":"2024-06-05T19:36:53","modified_gmt":"2024-06-05T19:36:53","slug":"namedselection-in-spaceclaim-script","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/namedselection-in-spaceclaim-script\/","title":{"rendered":"NamedSelection in SpaceClaim Script"},"content":{"rendered":"<p>Hello! I&#8217;m having trouble creating NamedSelection via SpaceClaim Script, but I&#8217;ll leave my question in parts.<br \/><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/06\/05-06-2024-1717615932-mceclip0.png\"><\/p>\n<p>This is a slice of my geometry, in which you can see an entrance and an exit. The problem is that I need to name them before moving on to meshing, which will also be done via code.&nbsp;<br \/>The first problem is that I don&#8217;t know how to select these regions. I can&#8217;t use &ldquo;FilterByArea&rdquo; because the input and output areas are the same. I&#8217;m trying to do it via &ldquo;FilterByBoundingBox&rdquo; and it didn&#8217;t work, and &ldquo;FIlterByBoundingSphere&rdquo; even works, but it&#8217;s selecting the whole solid. How could I select only that surface from the input and output it in a generalized way in the code?<br \/>This is because my geometry is scalable, so everything has to be parameterized, so I want a form of selection that depends either on the region or on the geometric parameters.&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-369982","topic","type-topic","status-closed","hentry","topic-tag-python-ironpython-1","topic-tag-script","topic-tag-spaceclaim"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["301860"],"_bbp_author_ip":["184.24.96.177"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1111"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["369982"],"_bbp_forum_id":["27789"],"_bbp_engagement":["301860"],"_bbp_voice_count":["1"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["369983"],"_bbp_last_active_id":["369983"],"_bbp_last_active_time":["2024-06-05 19:41:36"]},"test":"nicoleptavgmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/369982","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\/369982\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=369982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}