


{"id":350805,"date":"2024-02-12T13:23:18","date_gmt":"2024-02-12T13:23:18","guid":{"rendered":"\/forum\/forums\/topic\/scdm-scripting-powerselection-not-working-as-expected\/"},"modified":"2024-02-26T09:13:19","modified_gmt":"2024-02-26T09:13:19","slug":"scdm-scripting-powerselection-not-working-as-expected","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scdm-scripting-powerselection-not-working-as-expected\/","title":{"rendered":"SCDM Scripting PowerSelection not working as expected"},"content":{"rendered":"<p>Hello,&nbsp;<\/p>\n<p>I am simply trying to select some edges less than a threshold via the PowerSelection command.&nbsp;<\/p>\n<p>First, I try by recording a macro that is when I select an edge manually, and then execute the powerSelection tool, which works fine (Line 82 and geometry as shown in the screenshot).<\/p>\n<p>In line 83, I rewrite the same line but instead use a length as a criteria, which can be used as an argument according to API documentation. But then it doesn&#8217;t work. I tried by entering just 10 instead of &#8220;MM(10)&#8221; but it still doesn&#8217;t seem to work.&nbsp;<\/p>\n<p>Can anyone shed any light as to what might be going wrong here?<\/p>\n<p>Thank you!<a class=\"wp-colorbox-image cboxElement\" href=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/02\/12-02-2024-1707743836-test.png\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2024\/02\/12-02-2024-1707743836-test.png\" alt=\"All the edges measuring less than 10mm are extruded by line 82 but not line 83\"><\/a><\/p>\n","protected":false},"template":"","class_list":["post-350805","topic","type-topic","status-closed","hentry","topic-tag-moderator-spaceclaim","topic-tag-python-scripting","topic-tag-script","topic-tag-spaceclaim"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["303384","2328"],"_bbp_author_ip":["96.7.218.215"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["592"],"_bbp_topic_status":["answered"],"_edit_lock":["1707747738:207763"],"_bbp_topic_id":["350805"],"_bbp_forum_id":["27789"],"_bbp_engagement":["2328","303384"],"_bbp_voice_count":["2"],"_bbp_reply_count":["8"],"_bbp_last_reply_id":["353754"],"_bbp_last_active_id":["353754"],"_bbp_last_active_time":["2024-02-26 09:52:15"]},"test":"alrifaichalmers-se"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/350805","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":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/350805\/revisions"}],"predecessor-version":[{"id":350819,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/350805\/revisions\/350819"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=350805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}