PDA

View Full Version : changing Quality To Production Quality via mel


modi
08-06-2007, 11:34 PM
Hi there, i'm trying to script the Qulaity Prest in the render Globals ,
I basically want to run a setAttr to set the Render Globals to Production Quality.
I can't seem to find it in the docs and the script editor won't spit out the command either.
A speedy response would be much appreciated.
Aslo is there a way to save presets globally. Say in another folder on another drive.
If so what do i need edit to point maya to grab presets from a particular directory.
cheers.
-Modi.

modi
08-07-2007, 01:47 AM
bumpity bump

GiantG
08-07-2007, 07:31 AM
It's an internal command.

But easy workaround is:

Save your Render Settings and load it with MEL
loadNodePresets "PresetName";

modi
08-07-2007, 02:57 PM
thanks for the reply. the presets only get stored on my computer but i need to script this so all users can use this preset. I need to store the preset on the server.
i found a workaround where i store the preset and thru sysfile command copy the preset from my computer to the presets directory of all users.
I wish all the options in the render globals where accesible thru mel.

Another quick question, is there a mel command to change the namespace of the reference?
i read the docs and it says you need to move the namespace to a new one and then you can change the namespace but this does not work for me, i get an error saying the namespace is not empty.

CGTalk Moderation
08-07-2007, 02:57 PM
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.