Dynamic component ordering

Nope, Ignition doesn't add any keywords. To raise an exception, you use raise. And to break out of a try/except... you DON'T raise anything. I suspect this part of your code was never executed, it would have... raised an exception.

1 Like

What does sanitizeIgnitionObject do? I'm confused.

It's doing a "deep copy" of the special Ignition objects you get in e.g Perspective contexts to transform them into "regular" Python lists and dictionaries. It's sometimes necessary to do this when exchanging those objects with other parts of Ignition.

Thank you to everyone who provided feedback and and helped me to work through this project. It is now working as originally intended.