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 PH_3D_RECON_NULLOBJECT_DISPLAY_MODE in Omotiontracker

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

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

Resource File Code (Omotiontracker.res)


LONG  PH_3D_RECON_NULLOBJECT_DISPLAY_MODE
{
ANIM  OFF;                          
    CYCLE 
    {         PH_3D_RECON_NULLOBJECT_DISPLAY_NONE; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_DOT; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_POINT; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_CIRCLE; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_RECTANGLE; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_DIAMOND; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_TRIANGLE; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_PENTAGON; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_HEXAGON; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_OCTAGON; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_STAR; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_AXIS; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_CUBE; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_PYRAMID; 
        PH_3D_RECON_NULLOBJECT_DISPLAY_SPHERE; 
    }
}
            

Header File Code (Omotiontracker.h)

#ifndef OMOTIONTRACKER_H__
#define OMOTIONTRACKER_H__
enum
{
  PH_3D_RECON_NULLOBJECT_DISPLAY_MODE = 1000,  //First ID should start at 1000
    PH_3D_RECON_NULLOBJECT_DISPLAY_NONE = 1,
    PH_3D_RECON_NULLOBJECT_DISPLAY_DOT = 2,
    PH_3D_RECON_NULLOBJECT_DISPLAY_POINT = 3,
    PH_3D_RECON_NULLOBJECT_DISPLAY_CIRCLE = 4,
    PH_3D_RECON_NULLOBJECT_DISPLAY_RECTANGLE = 5,
    PH_3D_RECON_NULLOBJECT_DISPLAY_DIAMOND = 6,
    PH_3D_RECON_NULLOBJECT_DISPLAY_TRIANGLE = 7,
    PH_3D_RECON_NULLOBJECT_DISPLAY_PENTAGON = 8,
    PH_3D_RECON_NULLOBJECT_DISPLAY_HEXAGON = 9,
    PH_3D_RECON_NULLOBJECT_DISPLAY_OCTAGON = 10,
    PH_3D_RECON_NULLOBJECT_DISPLAY_STAR = 11,
    PH_3D_RECON_NULLOBJECT_DISPLAY_AXIS = 12,
    PH_3D_RECON_NULLOBJECT_DISPLAY_CUBE = 13,
    PH_3D_RECON_NULLOBJECT_DISPLAY_PYRAMID = 14,
    PH_3D_RECON_NULLOBJECT_DISPLAY_SPHERE = 15,
};
#endif	// OMOTIONTRACKER_H__

String File Code (Omotiontracker.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  PH_3D_RECON_NULLOBJECT_DISPLAY_MODE    "3DFeatureDisplay";
    PH_3D_RECON_NULLOBJECT_DISPLAY_NONE    "None";
    PH_3D_RECON_NULLOBJECT_DISPLAY_DOT    "Dot";
    PH_3D_RECON_NULLOBJECT_DISPLAY_POINT    "Locator";
    PH_3D_RECON_NULLOBJECT_DISPLAY_CIRCLE    "Circle";
    PH_3D_RECON_NULLOBJECT_DISPLAY_RECTANGLE    "Rectangle";
    PH_3D_RECON_NULLOBJECT_DISPLAY_DIAMOND    "Diamond";
    PH_3D_RECON_NULLOBJECT_DISPLAY_TRIANGLE    "Triangle";
    PH_3D_RECON_NULLOBJECT_DISPLAY_PENTAGON    "Pentagon";
    PH_3D_RECON_NULLOBJECT_DISPLAY_HEXAGON    "Hexagon";
    PH_3D_RECON_NULLOBJECT_DISPLAY_OCTAGON    "Octagon";
    PH_3D_RECON_NULLOBJECT_DISPLAY_STAR    "Star";
    PH_3D_RECON_NULLOBJECT_DISPLAY_AXIS    "Axis";
    PH_3D_RECON_NULLOBJECT_DISPLAY_CUBE    "Cube";
    PH_3D_RECON_NULLOBJECT_DISPLAY_PYRAMID    "Pyramid";
    PH_3D_RECON_NULLOBJECT_DISPLAY_SPHERE    "Sphere";
}