I am not sure what are the contents of the D:\script.py but you can remove all the solve commands from it, and update the system one by one in the Workbench page to achieve what you want.
You can also record this operation in journal file.
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum
Please Login to Report Topic
Please Login to Share Feed