Hey,

Yes hamish's solution is nice and keeps it all within python (well at least
for our calls)

I hadn't thought of doing it that way either (self taught as well (well I
used to sit beside hamish so his input too :)])

I guess in April we will be able to tell if all of the callbacks can be kept
within python.

Dave

On Mon, Mar 7, 2011 at 9:47 PM, Jakob Welner <[email protected]> wrote:

> Hey there and thanks for your replies.
>
> Poff, I've thought about writing my own file browser but currently I'd
> prefer using standard Maya tools to maintain OS independency as far as
> possible and especially because Maya Autodesk seems to have included a
> fileBrowser2 in Maya 2011 which should take care of it in Python mode.
> However, if I were writing an inhouse tool which could be based on our
> pipe, I would've done it straight away :)
>
> Dave, thanks for the tip!
> From what I could gather his solution to be - or at least how I ended up
> doing it - was to create a python list with references to your instances,
> indexed by a string/int ID, pass that ID to your mel script, from MEL fetch
> the instance from your python list and run the method through that instance.
> Hadn't thought of this way around but it seems to be quie a normal
> approach, now that I know of it and have been asking around for a bit.
> Guess that's one of the downsides of being a self taught programmer :)
>
> Thanks again and everything is now working like a charm.
>
>
> Cheers
> JAKOB WELNER
>     _____________
>     Animator | R&D
>     jakob.welner.dk
>
>  --
> http://groups.google.com/group/python_inside_maya
>

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

Reply via email to