Ansys Employee
Can you please explain your query in some more details, Running script before each DP would basically change the DP, and hence each DP would have to be solved again, manually. If your geometry is parametric in SpaceClaim and all you need is to add or remove parts, probably you can use a command snippet based element birth death commands to kill the elements of the parts that you want to remove.
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum