August 22, 2023 at 2:08 pm
Ansys Employee
Are the names for bodies unique and will stay the same despite geometry changes? Are you able to bring the names of bodies and components to SpaceClaim from your CAD? If yes, you should be able to loop through the components and bodies to get the required bodies based on their names. Please also take a look at PowerSelection API in the SpaceClaim scripting documentation https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v231/en/spaceclaim/Discovery/user_manual/scripting.html.
-Aniket