Erik Kostson
Ansys Employee

Hi

We (Ansys empl.) can not provide extensive scripting and script debugging support here - perhaps other forum members can chime in and help/provide feedback.

As a note there is a suite of addtive tools inside mechanical.

https://simutechgroup.com/ansys-software/additive-manufacturing/ansys-additive-suite/

https://www.cadfem.net/en/our-solutions/ansys-simulation-software-the-product-family/ansys-structural-mechanics/ansys-additive-suite.html

All the best

Erik