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 XDYNANULL_DYNAMICS in Oxdynanull

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

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

Resource File Code (Oxdynanull.res)


LONG  XDYNANULL_DYNAMICS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XDYNANULL_CHOOSE; 
        1032131; 
        XDYNANULL_DOMAIN; 
        1033595; 
        XDYNANULL_CONSTRAINTS; 
        1033777; 
        XDYNANULL_PPCOLLISIONS; 
        1033823; 
        XDYNANULL_FLUIDS; 
        1033824; 
    }
}
            

Header File Code (Oxdynanull.h)

#ifndef OXDYNANULL_H__
#define OXDYNANULL_H__
enum
{
  XDYNANULL_DYNAMICS = 1000,  //First ID should start at 1000
    XDYNANULL_CHOOSE = 1,
    1032131 = 2,
    XDYNANULL_DOMAIN = 3,
    1033595 = 4,
    XDYNANULL_CONSTRAINTS = 5,
    1033777 = 6,
    XDYNANULL_PPCOLLISIONS = 7,
    1033823 = 8,
    XDYNANULL_FLUIDS = 9,
    1033824 = 10,
};
#endif	// OXDYNANULL_H__

String File Code (Oxdynanull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XDYNANULL_DYNAMICS    "DynamicsObjects";
    XDYNANULL_CHOOSE    "ChooseDynamics...";
    1032131    "";
    XDYNANULL_DOMAIN    "FLIPDomain";
    1033595    "";
    XDYNANULL_CONSTRAINTS    "Constraints";
    1033777    "";
    XDYNANULL_PPCOLLISIONS    "P-PCollisions";
    1033823    "";
    XDYNANULL_FLUIDS    "SPHFluids";
    1033824    "";
}