any way to change preferences with script in CS3

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
cardeiro
Posts: 31
Joined: March 27th, 2006, 2:03 pm
Location: philadelphia, PA
Contact:

specifically, I want to change the multiprocessing option. This option really sucks when working in a comp and you want a quick preview... the whole system grinds to a halt. I only want this pref turned on when I render.

Basically I want to write a script that will enable multiprocessing; render all in queue, disable multiprocessing when finished rendering. seems like a no brainer but looking through the docs it does not appear that there is a way to change prefs.

Mike Cardeiro
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

cardeiro wrote:specifically, I want to change the multiprocessing option. This option really sucks when working in a comp and you want a quick preview... the whole system grinds to a halt. I only want this pref turned on when I render.

Basically I want to write a script that will enable multiprocessing; render all in queue, disable multiprocessing when finished rendering. seems like a no brainer but looking through the docs it does not appear that there is a way to change prefs.

Mike Cardeiro
Hey Mike,

<shameless_plug> The new CS3 version of my BG renderer script allows you to turn on MP for the BG render exclusively. </shameless_plug>

To change the main app prefs through scripting take a look at Jeff A's Picker Switcher script for some guidance but basically it's the app.preferences.savePrefAsLong command that you are going to want to use..

-Lloyd
Post Reply