yes I have done the first option and it works like charm... i fetched all
render globals to my PyQt4 app except the imageFormat (i.e. jpg,iff,png bla
bla) I dont know which mel file in the scripts folder of maya directory
they all are otherwise i could have parsed and pulled it in my app. i dont
know if its doable..

well for the 2nd and 3rd options do you mean it will be picked to disk or
make json file of data returned by readMayaFile.getCams() ?


On Sun, Dec 9, 2012 at 9:16 PM, Justin Israel <[email protected]>wrote:

> 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
> <http://pastebin.com/9gfYaWRV>]
>
> 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].
>
>
>



-- 
**

[image: San's personal blog] <http://feeds.feedburner.com/SanLuthraBlog>

*
*

-- 
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].


Reply via email to