So, in mel, you just do a simple whatIs  "something.mel"  and you get
back one of these:

Unknown
Presumed Mel procedure; no definition seen yet.
Command
Script found in: ...

When I look it up in the docs, there is supposedly no python version,
and no advice on where to look as an alternative.  I assume this is
because there is something so much better/easier through the API, but
I can't seem to figure out what that alternative might be.

Any generous soul out there have any ideas of how to do this o
something like this in Python/API ?

I tried wrapping this up for mel in what follows, but had issues with
that, too:

n = 'something.mel'
maya.mel.eval('global string $MyMELStringVariable;')
maya.mel.eval( '$MyMELStringVariable = `whatIs ' + n + '.mel` ' )
TransferMELvar = maya.mel.eval('$temp=$MyMELStringVariable')
whatIs.append( TransferMELvar )

I'm probably just not searching docs for the right terms...
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to