Hi,
I'm trying to run several optimization studies sequentially, but I need each one to complete before the next begins. This is necessary to resolve some positional constraints in a chain of segments.
The optimizations worksy when I manually run the Studies in the AnyBody GUI, but I haven’t found a way to automate their execution with a sequence command. This is currently a test model, and my goal is to implement the same approach for the full spine model (Thats why I would like to automate it)
This is certainly possible. You are on the right track in using AnyOperationSequence and you are almost there with your script
The only thing that needs to be fixed is that AnyOperationSequence looks for reference pointers to AnyOperation and derived. So you would need to change your code from: