View Full Version : what are the flags for these?
does anyone know the flags that go with these?
changeResolution and changeImageFormat
I want to put them at the beginning of a script so it sets it up for me, but apparently they're not in the help files...and when I do the echo all commands in the script editor it just says "changeResolution" etc...
Norb
|
|
mattwood
02-13-2003, 12:26 PM
I think you need to change attributes on the defaultRenderGlobals node. I'm not near Maya at the moment so I can't test it.
alexx
02-13-2003, 02:23 PM
check in the help under DG nodes (node and attribute reference in 4.0 help)
for the node called:
renderGlobals
to set or query you need to access the defaultRenderGlobals
e.g.:
start frame:
getAttr defaultRenderGloabals.startFrame
to get to settings like resolution, check the "related commands" at top
(in this case the node is called "resolution")
cheers
alexx
well I found the stuff....
but when I type in
setAttr defaultRenderGlobals.resolution w 720 h 486
it gives me an error saying that the resolution is locked and can't be modified...
arg
Norb
alexx
02-14-2003, 08:30 AM
resolution is not a part from default render globals (ja.. it is but not in that way...)
you have to check for the node (!) "resolution".. it is a node like "renderGlobals" are.
check this:
setAttr defaultResolution.width 720;
setAttr defaultResolution.height 486;
if you want to change resolution or even frame padding style you have to check for a lot of stuff to be sure all works..
cheers
cool thanks!
is there a setPreset command in here somewhere so i can just change it to CCIR 601/Quantel NTSC?
CGTalk Moderation
01-14-2006, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.