Is there a way to set the order in which Python Code/Results objects are executed? For example if After Solve I want to run multiple Python objects, but want them to run in particular order, can this be specified somehow?
This is not a documented feature, but the order you connect the Python Code objects is the order they will execute in.
Python Code AfterSolve 1 - Connect this first Python Code AfterSolve 2 - Connect this second
@amasih , Is there a property of the objects that tells when it was connected, or gives access to the index it is in the list of connected objects?
@Mike.Thompson No, unfortunately there's no way to know that.