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 XGENNULL_OBJECTS in Oxgennull

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

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

Resource File Code (Oxgennull.res)


LONG  XGENNULL_OBJECTS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XGENNULL_CHOOSE; 
        1029575; 
        XGENNULL_BRANCHMESH; 
        1032145; 
        XGENNULL_ELEKTRIX; 
        1032188; 
        XGENNULL_FRAGMENTER; 
        1031138; 
        XGENNULL_GENERATOR; 
        1027654; 
        XGENNULL_SKINNER; 
        1029227; 
        XGENNULL_SPRITES; 
        1027664; 
        XGENNULL_TRAILS; 
        1027501; 
    }
}
            

Header File Code (Oxgennull.h)

#ifndef OXGENNULL_H__
#define OXGENNULL_H__
enum
{
  XGENNULL_OBJECTS = 1000,  //First ID should start at 1000
    XGENNULL_CHOOSE = 1,
    1029575 = 2,
    XGENNULL_BRANCHMESH = 3,
    1032145 = 4,
    XGENNULL_ELEKTRIX = 5,
    1032188 = 6,
    XGENNULL_FRAGMENTER = 7,
    1031138 = 8,
    XGENNULL_GENERATOR = 9,
    1027654 = 10,
    XGENNULL_SKINNER = 11,
    1029227 = 12,
    XGENNULL_SPRITES = 13,
    1027664 = 14,
    XGENNULL_TRAILS = 15,
    1027501 = 16,
};
#endif	// OXGENNULL_H__

String File Code (Oxgennull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XGENNULL_OBJECTS    "Generators";
    XGENNULL_CHOOSE    "ChooseGenerator";
    1029575    "";
    XGENNULL_BRANCHMESH    "SplineMesher";
    1032145    "";
    XGENNULL_ELEKTRIX    "Elektrix";
    1032188    "";
    XGENNULL_FRAGMENTER    "Fragmenter";
    1031138    "";
    XGENNULL_GENERATOR    "Generator";
    1027654    "";
    XGENNULL_SKINNER    "Skinner";
    1029227    "";
    XGENNULL_SPRITES    "Sprites";
    1027664    "";
    XGENNULL_TRAILS    "Trails";
    1027501    "";
}