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 XOVM_SYSOBJ_MODS4 in Oxpsystem

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

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

Resource File Code (Oxpsystem.res)


LONG  XOVM_SYSOBJ_MODS4
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_8; 
        1029576; 
        SYSOBJ_BRANCH; 
        1031838; 
        SYSOBJ_DYNPART; 
        1033835; 
        SYSOBJ_GEOMETRY; 
        1027711; 
        SYSOBJ_MORPH; 
        1029117; 
        SYSOBJ_SCALE; 
        1027708; 
        SYSOBJ_SPAWN; 
        1027705; 
        SYSOBJ_TENDRIL; 
        1032041; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_MODS4 = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_8 = 1,
    1029576 = 2,
    SYSOBJ_BRANCH = 3,
    1031838 = 4,
    SYSOBJ_DYNPART = 5,
    1033835 = 6,
    SYSOBJ_GEOMETRY = 7,
    1027711 = 8,
    SYSOBJ_MORPH = 9,
    1029117 = 10,
    SYSOBJ_SCALE = 11,
    1027708 = 12,
    SYSOBJ_SPAWN = 13,
    1027705 = 14,
    SYSOBJ_TENDRIL = 15,
    1032041 = 16,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_MODS4    "GenerateModifiers";
    SYSOBJ_CHOOSE_8    "ChooseGenerateModifier...";
    1029576    "";
    SYSOBJ_BRANCH    "Branch";
    1031838    "";
    SYSOBJ_DYNPART    "DynamicParticles";
    1033835    "";
    SYSOBJ_GEOMETRY    "Geometry";
    1027711    "";
    SYSOBJ_MORPH    "Morph";
    1029117    "";
    SYSOBJ_SCALE    "Scale";
    1027708    "";
    SYSOBJ_SPAWN    "Spawn";
    1027705    "";
    SYSOBJ_TENDRIL    "Tendril";
    1032041    "";
}