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_GENERATORS 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_GENERATORS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_1; 
        1029575; 
        SYSOBJ_BRANCHMESH; 
        1032145; 
        SYSOBJ_ELEKTRIX; 
        1032188; 
        SYSOBJ_EMITTER; 
        1027133; 
        SYSOBJ_FRAGMENTER; 
        1031138; 
        SYSOBJ_GENERATOR; 
        1027654; 
        SYSOBJ_SKINNER; 
        1029227; 
        SYSOBJ_SPRITES; 
        1027664; 
        SYSOBJ_TRAILS; 
        1027501; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_GENERATORS = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_1 = 1,
    1029575 = 2,
    SYSOBJ_BRANCHMESH = 3,
    1032145 = 4,
    SYSOBJ_ELEKTRIX = 5,
    1032188 = 6,
    SYSOBJ_EMITTER = 7,
    1027133 = 8,
    SYSOBJ_FRAGMENTER = 9,
    1031138 = 10,
    SYSOBJ_GENERATOR = 11,
    1027654 = 12,
    SYSOBJ_SKINNER = 13,
    1029227 = 14,
    SYSOBJ_SPRITES = 15,
    1027664 = 16,
    SYSOBJ_TRAILS = 17,
    1027501 = 18,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_GENERATORS    "GeneratorObjects";
    SYSOBJ_CHOOSE_1    "ChooseGenerator...";
    1029575    "";
    SYSOBJ_BRANCHMESH    "SplineMesher";
    1032145    "";
    SYSOBJ_ELEKTRIX    "Elektrix";
    1032188    "";
    SYSOBJ_EMITTER    "Emitter";
    1027133    "";
    SYSOBJ_FRAGMENTER    "Fragmenter";
    1031138    "";
    SYSOBJ_GENERATOR    "Generator";
    1027654    "";
    SYSOBJ_SKINNER    "Skinner";
    1029227    "";
    SYSOBJ_SPRITES    "Sprites";
    1027664    "";
    SYSOBJ_TRAILS    "Trails";
    1027501    "";
}