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 BASEDRAW_DATA_PROJECTION in Dbasedraw

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

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

Resource File Code (Dbasedraw.res)


LONG  BASEDRAW_DATA_PROJECTION
{
ANIM  OFF;                          
    CYCLE 
    {         BASEDRAW_PROJECTION_PERSPECTIVE; 
        BASEDRAW_PROJECTION_PARALLEL; 
        BASEDRAW_PROJECTION_LEFT; 
        BASEDRAW_PROJECTION_RIGHT; 
        BASEDRAW_PROJECTION_FRONT; 
        BASEDRAW_PROJECTION_BACK; 
        BASEDRAW_PROJECTION_TOP; 
        BASEDRAW_PROJECTION_BOTTOM; 
        BASEDRAW_PROJECTION_MILITARY; 
        BASEDRAW_PROJECTION_FROG; 
        BASEDRAW_PROJECTION_BIRD; 
        BASEDRAW_PROJECTION_GENTLEMAN; 
        BASEDRAW_PROJECTION_ISOMETRIC; 
        BASEDRAW_PROJECTION_DIMETRIC; 
    }
}
            

Header File Code (Dbasedraw.h)

#ifndef DBASEDRAW_H__
#define DBASEDRAW_H__
enum
{
  BASEDRAW_DATA_PROJECTION = 1000,  //First ID should start at 1000
    BASEDRAW_PROJECTION_PERSPECTIVE = 1,
    BASEDRAW_PROJECTION_PARALLEL = 2,
    BASEDRAW_PROJECTION_LEFT = 3,
    BASEDRAW_PROJECTION_RIGHT = 4,
    BASEDRAW_PROJECTION_FRONT = 5,
    BASEDRAW_PROJECTION_BACK = 6,
    BASEDRAW_PROJECTION_TOP = 7,
    BASEDRAW_PROJECTION_BOTTOM = 8,
    BASEDRAW_PROJECTION_MILITARY = 9,
    BASEDRAW_PROJECTION_FROG = 10,
    BASEDRAW_PROJECTION_BIRD = 11,
    BASEDRAW_PROJECTION_GENTLEMAN = 12,
    BASEDRAW_PROJECTION_ISOMETRIC = 13,
    BASEDRAW_PROJECTION_DIMETRIC = 14,
};
#endif	// DBASEDRAW_H__

String File Code (Dbasedraw.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  BASEDRAW_DATA_PROJECTION    "Projection";
    BASEDRAW_PROJECTION_PERSPECTIVE    "Perspective";
    BASEDRAW_PROJECTION_PARALLEL    "Parallel";
    BASEDRAW_PROJECTION_LEFT    "Left";
    BASEDRAW_PROJECTION_RIGHT    "Right";
    BASEDRAW_PROJECTION_FRONT    "Front";
    BASEDRAW_PROJECTION_BACK    "Back";
    BASEDRAW_PROJECTION_TOP    "Top";
    BASEDRAW_PROJECTION_BOTTOM    "Bottom";
    BASEDRAW_PROJECTION_MILITARY    "Military";
    BASEDRAW_PROJECTION_FROG    "Frog";
    BASEDRAW_PROJECTION_BIRD    "Bird";
    BASEDRAW_PROJECTION_GENTLEMAN    "Gentleman";
    BASEDRAW_PROJECTION_ISOMETRIC    "Isometric";
    BASEDRAW_PROJECTION_DIMETRIC    "Dimetric";
}