Erik Kostson
Ansys Employee

Hi

 

This explains what to do (see especially the last images of the below link)

https://developer.ansys.com/blog/script-tip-friday-python-code-object-mechanical

All the best

Erik