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 XOTHERNULL_OBJECTS in Oxothernull

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

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

Resource File Code (Oxothernull.res)


LONG  XOTHERNULL_OBJECTS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XOTHERNULL_CHOOSE; 
        1029577; 
        XOTHERNULL_CACHE; 
        1028775; 
        XOTHERNULL_FHELP; 
        1032053; 
        XOTHERNULL_PDEF; 
        1028397; 
        XOTHERNULL_TRAILDEF; 
        1034623; 
        XOTHERNULL_VOLEMIT; 
        1033826; 
    }
}
            

Header File Code (Oxothernull.h)

#ifndef OXOTHERNULL_H__
#define OXOTHERNULL_H__
enum
{
  XOTHERNULL_OBJECTS = 1000,  //First ID should start at 1000
    XOTHERNULL_CHOOSE = 1,
    1029577 = 2,
    XOTHERNULL_CACHE = 3,
    1028775 = 4,
    XOTHERNULL_FHELP = 5,
    1032053 = 6,
    XOTHERNULL_PDEF = 7,
    1028397 = 8,
    XOTHERNULL_TRAILDEF = 9,
    1034623 = 10,
    XOTHERNULL_VOLEMIT = 11,
    1033826 = 12,
};
#endif	// OXOTHERNULL_H__

String File Code (Oxothernull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOTHERNULL_OBJECTS    "OtherObjects";
    XOTHERNULL_CHOOSE    "ChooseOtherObject...";
    1029577    "";
    XOTHERNULL_CACHE    "CacheObject";
    1028775    "";
    XOTHERNULL_FHELP    "FlockHelper";
    1032053    "";
    XOTHERNULL_PDEF    "ParticleDeformer";
    1028397    "";
    XOTHERNULL_TRAILDEF    "TrailDeformer";
    1034623    "";
    XOTHERNULL_VOLEMIT    "VolumeEmissionControl";
    1033826    "";
}