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 XMODNULL_MODS4 in Oxmodnull

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

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

Resource File Code (Oxmodnull.res)


LONG  XMODNULL_MODS4
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XMODNULL_CHOOSE_4; 
        1029576; 
        XMODNULL_BRANCH; 
        1031838; 
        XMODNULL_DYNPART; 
        1033835; 
        XMODNULL_GEOMETRY; 
        1027711; 
        XMODNULL_MORPH; 
        1029117; 
        XMODNULL_SCALE; 
        1027708; 
        XMODNULL_SPAWN; 
        1027705; 
        XMODNULL_TENDRIL; 
        1032041; 
    }
}
            

Header File Code (Oxmodnull.h)

#ifndef OXMODNULL_H__
#define OXMODNULL_H__
enum
{
  XMODNULL_MODS4 = 1000,  //First ID should start at 1000
    XMODNULL_CHOOSE_4 = 1,
    1029576 = 2,
    XMODNULL_BRANCH = 3,
    1031838 = 4,
    XMODNULL_DYNPART = 5,
    1033835 = 6,
    XMODNULL_GEOMETRY = 7,
    1027711 = 8,
    XMODNULL_MORPH = 9,
    1029117 = 10,
    XMODNULL_SCALE = 11,
    1027708 = 12,
    XMODNULL_SPAWN = 13,
    1027705 = 14,
    XMODNULL_TENDRIL = 15,
    1032041 = 16,
};
#endif	// OXMODNULL_H__

String File Code (Oxmodnull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XMODNULL_MODS4    "GenerateModifiers";
    XMODNULL_CHOOSE_4    "ChooseGenerateModifier...";
    1029576    "";
    XMODNULL_BRANCH    "Branch";
    1031838    "";
    XMODNULL_DYNPART    "DynamicParticles";
    1033835    "";
    XMODNULL_GEOMETRY    "Geometry";
    1027711    "";
    XMODNULL_MORPH    "Morph";
    1029117    "";
    XMODNULL_SCALE    "Scale";
    1027708    "";
    XMODNULL_SPAWN    "Spawn";
    1027705    "";
    XMODNULL_TENDRIL    "Tendril";
    1032041    "";
}