On 06/05/2016 at 02:16, xxxxxxxx wrote:
I like to set various preferences.
Where can I find an overview of all preference containers and constants?
- openGL Anti-Alias does not have a dedicated container (uses GetWorldContainerInstance directly) and uses constant WPREF_OPENGL_ANTIALIAS
pref = c4d.GetWorldContainerInstance() #preferenses
pref[c4d.WPREF_OPENGL_ANTIALIAS] = 2
- Net Render Name uses the PREFS_PRI_NET net render subcontainer and constant PREF_NAME
np = ma[c4d.PREFS_PRI_NET] # get the net render sub-container
np[c4d.PREF_NAME] = "NewName"
ma[c4d.PREFS_PRI_NET] = np # store the changed container to preferences
On 09/05/2016 at 01:18, xxxxxxxx wrote:
I'm afraid there is no list of all preferences. The preference system can be extended using the C++ API so every module can add new preferences independently. So if you are interested in the preferences of some module you have to consult the resource files of that module.
On 12/05/2016 at 08:24, xxxxxxxx wrote: