I had never actually tried preload. ha.  The UI itself won't help, but
your suggestion sure does!  I tracked down the mel for this ui and
found that it used the command: selLoadSettings.  Now this is the
command I needed!

If I run selLoadSettings in the BeforeLoadReference callback, I can
basically get a list of all the reference nodes that are 'about to be'
loaded, store them, and tell them not to load.
Thanks for your suggestion.  You totally nudged me in the right
direction.
Jay

On May 14, 5:11 pm, Matt Estela <[email protected]> wrote:
> using the file->open->option box->selective preload wouldn't work for
> you? sorry if i misunderstood the question and you definitely
> want/need a python solution...
>
> On Sat, May 15, 2010 at 6:59 AM, Jay Goodman <[email protected]> wrote:
> > I was curious if anyone has tried to do this.  Basically we are trying
> > to prevent maya from loading any references by default and instead
> > load them ourselves.  This is because there are some references we
>
> --http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to