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 GV_XPSPRITES_NODE_INPUT_TYPE in GVxpsprites

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

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

Resource File Code (GVxpsprites.res)


LONG  GV_XPSPRITES_NODE_INPUT_TYPE
{
INPORT  ;  EDITPORT  ;                          
    CYCLE 
    {         XPSPRITES_NODE_INPUT_DOT; 
        XPSPRITES_NODE_INPUT_TICK; 
        XPSPRITES_NODE_INPUT_PLACARD; 
        XPSPRITES_NODE_INPUT_SPHERE; 
        XPSPRITES_NODE_INPUT_CONE; 
        XPSPRITES_NODE_INPUT_PYRAMID; 
        XPSPRITES_NODE_INPUT_DISC; 
        XPSPRITES_NODE_INPUT_3PLANE; 
        XPSPRITES_NODE_INPUT_LIGHT; 
        XPSPRITES_NODE_INPUT_POINT; 
        XPSPRITES_NODE_INPUT_TEXT; 
    }
}
            

Header File Code (GVxpsprites.h)

#ifndef GVXPSPRITES_H__
#define GVXPSPRITES_H__
enum
{
  GV_XPSPRITES_NODE_INPUT_TYPE = 1000,  //First ID should start at 1000
    XPSPRITES_NODE_INPUT_DOT = 1,
    XPSPRITES_NODE_INPUT_TICK = 2,
    XPSPRITES_NODE_INPUT_PLACARD = 3,
    XPSPRITES_NODE_INPUT_SPHERE = 4,
    XPSPRITES_NODE_INPUT_CONE = 5,
    XPSPRITES_NODE_INPUT_PYRAMID = 6,
    XPSPRITES_NODE_INPUT_DISC = 7,
    XPSPRITES_NODE_INPUT_3PLANE = 8,
    XPSPRITES_NODE_INPUT_LIGHT = 9,
    XPSPRITES_NODE_INPUT_POINT = 10,
    XPSPRITES_NODE_INPUT_TEXT = 11,
};
#endif	// GVXPSPRITES_H__

String File Code (GVxpsprites.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  GV_XPSPRITES_NODE_INPUT_TYPE    "SpriteType";
    XPSPRITES_NODE_INPUT_DOT    "Cube";
    XPSPRITES_NODE_INPUT_TICK    "Cross";
    XPSPRITES_NODE_INPUT_PLACARD    "Placard";
    XPSPRITES_NODE_INPUT_SPHERE    "Sphere";
    XPSPRITES_NODE_INPUT_CONE    "Cone";
    XPSPRITES_NODE_INPUT_PYRAMID    "Pyramid";
    XPSPRITES_NODE_INPUT_DISC    "Disc";
    XPSPRITES_NODE_INPUT_3PLANE    "3-Plane";
    XPSPRITES_NODE_INPUT_LIGHT    "Light";
    XPSPRITES_NODE_INPUT_POINT    "Points";
    XPSPRITES_NODE_INPUT_TEXT    "Text";
}