Maya – Load all unloaded references
This will load all unloaded references including all children:
Sometimes there can also be orphaned referenced nodes that are no longer referencing a file but they are still in the scene. I’ve included some additional code to delete any orphaned nodes if they are found.
Edit: 2020-08-25 Adjusted code to be more user readable, replaced with GitLab to keep indentations.