I can't say for sure, but I'd imagine a "requires" statement are similar to Python's "import" statements and without them some things may not work as expected, like missing node-types.Having such a thing being part of a workflow sounds dangerous; would it be possible for you to elaborate on the why? Maybe there's another way.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAZj0m9FcnymsVGmmitCTNzarCtt2ydXH2KaXmfNfq%3Dsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
requires "xfrog" "1.0";
pluginInfo -q -pu;
// Result: vrayformaya 3.05.04 //
> email to python_inside_maya+unsub...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWPmFom%2BgkmU0%3DVu1vMn3c-JmiksLT2EYvTM8W6Lk%2BabWA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAGTPGODK%2B5RHF%3Dk9ApnGB8V%3DT%2BgCAm_Re-Dt-RdTnxXhpqOzWg%40mail.gmail.com.
I don't know too much about this, but what Fredrik says rings a bell. I remember how mental ray would "infect" the file if it had ever been loaded. Even if there were no mental ray nodes, it would still seem to load the plugin again simply from being included as a requires header.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWMgnAOBNEiu2k8Rp%2BU8yeighADe4htAZiZsHDY5Eyu-Pg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/96446973-e127-411d-aeb9-141de88fe436%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/7ae55164-fb71-4ef4-b7bf-bb7b171f7a5c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAGTPGOB8-Zq74x_41tGGCdZ2TRY9e4P7R%3DsHiNTKQO6h1X3RLQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWPOamLBoLb78v%2Bnc9bmhH9wOMQdQzqKGFMP4JBxz8JJNw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7bdK9axkdsBfTGzjVFAzn6jWD5DT_TwmR2jrTsBu1vSzA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAGTPGOCXwYOGTyVBakYoKah0HRo%3DJYzn0%3Dj0qnacD8UNc%3DpcAg%40mail.gmail.com.