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