Aymen Mzoughi
Ansys Employee

It is easier to use PyAEDT to accomplish this task.
https://aedt.docs.pyansys.com/version/stable/Getting_started/index.html