c4d.plugins.PreferenceData

New in version R19.

Defines a new preference category in the Cinema 4D preference dialog. Register this type of plugin with RegisterPreferencePlugin() .

Definition

class c4d.plugins. PreferenceData

Inheritance

Members

PreferenceData. InitPreferenceValue ( id , data , desc , descid , bc )

Initializes preference values in bc .

Parameters:
  • id ( int ) – The world container ID of the preference parameter.
  • data ( any ) – The value used for the initialization.
  • desc ( c4d.Description ) – The description of the preference hook. If None , id is used instead of descid .
  • descid ( c4d.DescID ) – The description ID of the preference parameter.
  • bc ( c4d.BaseContainer ) – The preference world container. A plugin should always store its parameters in a sub-container in the world container.

Table Of Contents