


{"id":437735,"date":"2025-07-25T07:30:31","date_gmt":"2025-07-25T07:30:31","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/script-for-subtracting-models\/"},"modified":"2025-07-25T11:33:13","modified_gmt":"2025-07-25T11:33:13","slug":"script-for-subtracting-models","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/script-for-subtracting-models\/","title":{"rendered":"Script for subtracting models"},"content":{"rendered":"<p>&lt;p&gt;&lt;p&gt;Hello, I would like to ask experienced users a question.&lt;br&gt;Is it possible to use a script(# Python Script, API Version = V251) to find models that are inside other models and then subtract them?&lt;\/p&gt;&lt;p&gt;It&#8217;s about ajdustin cabinets parts, where are joints represented by model. see simple example.&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\/07\/25-07-2025-1753428465-mceclip0.png\" \/>&lt;\/p&gt;&lt;p&gt;I want to find all inner models and remove them and before subtract them from whole panel.&lt;\/p&gt;&lt;p&gt;Now I am able to go through parts in document, but I cant find the way how create condition for it.&lt;\/p&gt;&lt;p&gt;Thank you for any answer.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Kind Regards.&lt;\/p&gt;&lt;p&gt;Pavel&lt;\/p&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-437735","topic","type-topic","status-publish","hentry","topic-tag-moderator-discovery-geometry","topic-tag-scripting"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27789"],"_bbp_topic_id":["437735"],"_bbp_author_ip":["91.219.240.4"],"_bbp_last_reply_id":["438352"],"_bbp_last_active_id":["438352"],"_bbp_last_active_time":["2025-08-01 10:06:38"],"_bbp_reply_count":["12"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["3"],"_bbp_engagement":["336046","2328","199842"],"_btv_view_count":["8107"],"_bbp_topic_status":["unanswered"],"_bbp_subscription":["2328","336046","199842"],"_edit_last":["2328"],"_bbp_notification_enabled":["199842"]},"test":"p-vintrnexnet-cz"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/437735","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\/437735\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=437735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}