Set the number of rendering threads via scripting
Article needs peer review
Question
What is the scripting command to change the number of licensed rendering threads?
Answer
It is possible to change it in File > User Preferences > Rendering.. However, if you choose to render from the command prompt, it means you have to start XSI, set the preference and then exit in order to launch the render.
An easier way would be to change this preference via the scripting command:
SetUserPref "{FEB6ABA0-E5F4-11d1-ADD7-00A0243E3654}", n
Substitute 'n' with the number of threads you intend to use. You can run this script from the command prompt before launching the render.
More Information
A request had been logged to expose this parameter {FEB6ABA0-E5F4-11d1-ADD7-00A0243E3654} correctly.
Applies To: XSI 1.5 on NT,Win2K,Irix
Posted: 6/26/2001
This page was last modified 21:20, 22 Nov 2005.
This page has been accessed 1952 times.

