Rob
Ansys Employee

Have a look in SpaceClaim for the journal commands and tools.  It's not quite Python but should work. You also need to read up on non-manifold bodies before you start.