changing Preferences/Interface

  • On 28/06/2013 at 11:51, xxxxxxxx wrote:

    Hi everyone,

    I am trying to get some infos from the preferences (actually, I need to get the Interface/Scheme) but for an unknown reason, I can get it when I write _  Interface[c4d.PREF_INTERFACE_SCHEME] _directly in the console, but it doesn't work when I try to get it from an external Python file.

    I thought that was because the preferences inherited from the c4d or c4d.documents classes, but I can't find it in the sdk...

    If you could help me with that, :)

    Thank you!

  • On 28/06/2013 at 23:51, xxxxxxxx wrote:

    the  method you are looking for is c4d.GetWorldContainer(). some pref branches/options are
    not included in that container for a reason only god knows why. if the interface scheme is one of 
    them you have to grab the preference plugin node and then access its data container ( which is
    actually named 'settings ' if i do remember correctly ).

Log in to reply