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 ID_BASEOBJECT_ROTATION_ORDER in Obase

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

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

Resource File Code (Obase.res)


LONG  ID_BASEOBJECT_ROTATION_ORDER
{
ANIM  OFF;                          
    CYCLE 
    {         ID_BASEOBJECT_ROTATION_ORDER_HPB; 
        -1; 
        ID_BASEOBJECT_ROTATION_ORDER_XYZ; 
        ID_BASEOBJECT_ROTATION_ORDER_XZY; 
        ID_BASEOBJECT_ROTATION_ORDER_YXZ; 
        ID_BASEOBJECT_ROTATION_ORDER_YZX; 
        ID_BASEOBJECT_ROTATION_ORDER_ZXY; 
        ID_BASEOBJECT_ROTATION_ORDER_ZYX; 
    }
}
            

Header File Code (Obase.h)

#ifndef OBASE_H__
#define OBASE_H__
enum
{
  ID_BASEOBJECT_ROTATION_ORDER = 1000,  //First ID should start at 1000
    ID_BASEOBJECT_ROTATION_ORDER_HPB = 1,
    -1 = 2,
    ID_BASEOBJECT_ROTATION_ORDER_XYZ = 3,
    ID_BASEOBJECT_ROTATION_ORDER_XZY = 4,
    ID_BASEOBJECT_ROTATION_ORDER_YXZ = 5,
    ID_BASEOBJECT_ROTATION_ORDER_YZX = 6,
    ID_BASEOBJECT_ROTATION_ORDER_ZXY = 7,
    ID_BASEOBJECT_ROTATION_ORDER_ZYX = 8,
};
#endif	// OBASE_H__

String File Code (Obase.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  ID_BASEOBJECT_ROTATION_ORDER    "RotationOrder";
    ID_BASEOBJECT_ROTATION_ORDER_HPB    "HPB";
    -1    "";
    ID_BASEOBJECT_ROTATION_ORDER_XYZ    "XYZ";
    ID_BASEOBJECT_ROTATION_ORDER_XZY    "XZY";
    ID_BASEOBJECT_ROTATION_ORDER_YXZ    "YXZ";
    ID_BASEOBJECT_ROTATION_ORDER_YZX    "YZX";
    ID_BASEOBJECT_ROTATION_ORDER_ZXY    "ZXY";
    ID_BASEOBJECT_ROTATION_ORDER_ZYX    "ZYX";
}