Oh good. Glad my last reply was actually helpful to your goal.
That is definitely the best route, I think, out of your options.. to just run
your readMayaFile.py script directly with parameters, and get back results.
Maybe like this:
mayapy readMayaFile.py --cameras </path/to/scene.ma>
You could even make it more generic as a utility and have different options as
the return type:
mayapy readMayaFile.py --cameras --pickle </path/to/scene.ma>
mayapy readMayaFile.py --cameras --json -o out.json </path/to/scene.ma>
Then what you have is a general scene file parser.
On Dec 7, 2012, at 6:25 AM, san wrote:
> as a part of my learning PyQt4 I started making a gui(see attachment) where I
> implement all the examples I learn from video tuts or book I am referring,
>
> however I count figure out how should I implement the method to show text
> message on the status bar when user hover mouse over a widget[link to
> pastebin ]
>
> and secondly I dont understand how come this method to select Directory is
> not working?
>
> def showDirDialog(self):
> directory=os.path.expanduser('~')
> dirPath=QtGui.QFileDialog(self,"Select Render Directory",directory)
> dirPath.setFileMode(QtGui.QFileDialog.DirectoryOnly)
>
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].