Hi Chad,

You probably know this already, but  referenceQuery command seems to do this


// Please specify a reference node, referenced file, or node from a
referenced file.

cmds.referenceQuery('ballGuy:pSphere1',filename=True)

# ,Result:, C:/My Documents/maya/projects/bugs/scenes/ballGuy.ma #


On Sat, Jan 31, 2009 at 5:10 PM, Chadrik <[email protected]> wrote:

>
>
> MFileIO.getReferenceFileByNode is giving me only the name of the file,
> not the full path to the file.  ( e.g.  'myfile.ma', not '/path/to/
> myfile.ma' )  is this its intended behavior or is there something else
> i have to do to make this command *not* completely worthless?
>
> thanks,
> -chad
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to