Your script was missing the part where you run VSPAEROComputeGeometry. I went back and took some pieces of
Tim Swait's post to your prior thread and inserted it into your script. See attached.
For future posts, please don't repost an existing thread into a new message as this makes it very difficult to track prior responses. If you need to bring your thread back up to the top of the forum, just post again in the same thread. Don't create new ones for the same problem.
I'll also note that my insertion into your script may not be ideal so you will want to debug it a bit to make sure that everything is updating properly. I also tested that the script is analyzing the correct diameter (per another prior post of yours) and the thrusts are changing with diameter as expected. I'm running VSP 3.32.2 which can still sometimes hang when cutting the solution, particularly for unsteady runs. I recommend deleting all cut planes from your model and analysis before you execute to avoid this lengthy post-processing.