- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
We have lots of issues with accumulating unused (and unavailable) plugin requirements in Maya scenes that take very long time to check all plugin paths.
(They are usually coming from scene files that we receive from other studios and are simply accumulated junk.) These can be removed since Maya 2015 sp5 from the current scene using "unknownPlugin -remove" but when dealing with hundred thousands of existing and backed up/restored files its a major pain in the **** to do reliably. Before Maya 2015 we simply overrode the requires command with a custom script that had a plugin "blacklist" to skip, but from Maya 2015 the syntax of the requires command changed and as far as I know it can't be overriden by MEL, because instead of using two strings as input, its using a varying attribute structure.
My question is: is there a way to get rid of the requires command of some plugins at scene load time? Can I use a callback or something to intercept the requires call? Or is there a way to override the requires command that can handle varying attributes?
Cheers,
Szabolcs
Solved! Go to Solution.