We've had the same issue as Fredrik - rogue plugins that "infect" other
scenes. In our case, we didn't actually have any of the plugins in question
installed on any of our machines - can't remember if that was a requirement
for the plugin to spread infectiously.

We had to immunize by creating dummy python plugins, that would also add a
post-save callback that would remove their own requires statement from any
ma files written out.  Not elegant, but once the outbreak is contained, the
plugin doesn't load, so it seems acceptable.

On Sun, Mar 15, 2015 at 2:57 PM, AK Eric <[email protected]> wrote:

> So this is a *complete hack*, and just off the cuff, and presuming you
> tested it and it didn't mangle your scene:  You could select all the
> top-level assemblies and do and export-selected on top of the same file.
> Sort of using a sledgehammer to do surgery, but if the patient lives....
>
> I use this brute force technique all the time (heck, I have it mapped to a
> marking menu) to clean files up (admittedly they're usually just simple
> models, not complex scenes):  Just last month I got a file form 90+ megs
> down to around 5 using this.  I asked the modeler:  "Did you notice how
> long this scene (with maybe 10k polys in it) took to save?  "yah, it seemed
> a little slower than usual..."
> :)
> Gotta love how cruft can slowly just glob up your files over the years...
> I've been hit by the same Mental Ray requires plague as well.  Grr....
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/96446973-e127-411d-aeb9-141de88fe436%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/96446973-e127-411d-aeb9-141de88fe436%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAAssL7bROgVAbXg%2Bs9cDBhk9S%2BX_gML2zvLCjNY%3D_8b0dN_Zwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to