Message 1 of 3
mel or python render command vs command-line Render
Not applicable
11-14-2007
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My python script running on Maya2008 looks for .mb files and opens to fix, then renders. I can only get it working if I save the scene file then issue the command-line Render command from the script. i was hoping that the mel/python render command would work for me. it does not seem to be equivalent to the command-line Render which has all the flags to overide render settings. With echo on, I could get attributes for defaultRenderGlobals node ... but not for all of them. And ... there is no doc on the node: defaultRenderGlobals. There is on other render related nodes ... but trying to correlate attributes was making me crazy. I did do a listAttr on defaultRenderGlobals ... but wo docs stuff still wasn't clear.
So i gave up and went back to version of script that saves scene file and issues command-line Render.
Has anyone out there had similar problems and able to resolve ?
(Also I did try tunring on echo all commads while I was setting attrs in defaultRenderGlobals ... I got a lot of Maya UI commands not giving obvious answers to settings of those attributes that didn't echo with regular echo)
thanks to all who can help
So i gave up and went back to version of script that saves scene file and issues command-line Render.
Has anyone out there had similar problems and able to resolve ?
(Also I did try tunring on echo all commads while I was setting attrs in defaultRenderGlobals ... I got a lot of Maya UI commands not giving obvious answers to settings of those attributes that didn't echo with regular echo)
thanks to all who can help