Ansys Learning Forum Forums Installation and Licensing Ansys Products Using Mechanical Scripting to Select Named Selection & Hide Bodies in Group. Reply To: Using Mechanical Scripting to Select Named Selection & Hide Bodies in Group.

mohan.urs
Ansys Employee

Hey 

I don't see a direct function to do this. But you can use the snippet from this ansys help link
https://ansyshelp.ansys.com/public///Views/Secured/corp/v242/en/act_script/act_script_examples_suppress_bodies.html

Just replace the suppress function to Hidden and that should do the trick.

Regards,
Mohan Urs