Is it possible to have a script that tells object A and B to go to a specific state. With the Object A, B, and State names being hardcoded in the script.
Basically Im creating a mockup generator. I've set various MSOs and based on a combination of their states create various layouts. Currently I can individually select the MSOs and then select the state, but it would be extremely convenient if I could create a script that would move all MSOs to a specific state at once.
I know I can create a button which will do a goto state for various MSOs, but that only works in preview mode. Basically Im looking for that same functionality only within layout mode via script.