Re the mb issue, we have a command line mb2ma utility at work for this sort
 of thing. The RnD folk implied it was a trivial tool to implement, but I
have no idea if that was done using the API, or derived from the MayaMan
code at Animal Logic. I can ask.

Re the core issue, I know I've used an option on the file->load dialog to
enable a selective reference load GUI. Not in front of maya right now, but
I'm sure I've used this to fix the problem you describe. Ie, load the
scene, tell it to load NO references, then try and fix the refrrence within
maya, or at the very least save a .ma that can be hacked.

Unfortunately it sounds suspiciously like the loadreferencedepth call you
mentioned, which implies it might not be able to be controlled via code.
Will take a look when I can.


On Saturday, October 27, 2012, Paul Molodowitch wrote:

> I've had success find/replacing reference names in the ascii text files,
>> but haven't tried to fix this through Maya itself.
>>
>
> Unfortunate, in our particular case, the scenes are saved as an binary
> .mb.  I COULD still try to do string replacement searching in the binary
> file, but I highly this likely be a bad idea: who knows if/where it would
> have stored memory offsets, table sizes, boundary-padding, etc that would
> have to be adjusted..
>
> - Paul
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to