Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

Element Information

Sample Code

Example code for the id XACTNULL_ACTIONS_OBJECTS in Oxactnull

Note that this is not the actual code from the Oxactnull file.

This code is just an example to show you how to add a similar control to your own description.

Resource File Code (Oxactnull.res)


LONG  XACTNULL_ACTIONS_OBJECTS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XACTNULL_CHOOSE_OBJ; 
        1029574; 
        XACTNULL_AEMITTER; 
        1030335; 
        XACTNULL_AGENERATOR; 
        1032535; 
        XACTNULL_ATRAILS; 
        1027508; 
    }
}
            

Header File Code (Oxactnull.h)

#ifndef OXACTNULL_H__
#define OXACTNULL_H__
enum
{
  XACTNULL_ACTIONS_OBJECTS = 1000,  //First ID should start at 1000
    XACTNULL_CHOOSE_OBJ = 1,
    1029574 = 2,
    XACTNULL_AEMITTER = 3,
    1030335 = 4,
    XACTNULL_AGENERATOR = 5,
    1032535 = 6,
    XACTNULL_ATRAILS = 7,
    1027508 = 8,
};
#endif	// OXACTNULL_H__

String File Code (Oxactnull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XACTNULL_ACTIONS_OBJECTS    "ObjectActions";
    XACTNULL_CHOOSE_OBJ    "ChooseObjectAction...";
    1029574    "";
    XACTNULL_AEMITTER    "ChangeEmitter";
    1030335    "";
    XACTNULL_AGENERATOR    "ChangeGenerator";
    1032535    "";
    XACTNULL_ATRAILS    "ChangeTrails";
    1027508    "";
}