David Mercier
Ansys Employee

A solution could be to script it using pyAnsys libraries, like this one: https://mapdl.docs.pyansys.com/version/0.64/