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_XPCOVER_NODE_OPERATION in GVxpcover

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

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

Resource File Code (GVxpcover.res)


LONG  GV_XPCOVER_NODE_OPERATION
{
ANIM  OFF;                          
    CYCLE 
    {         NODE_COVEROP_MODE_ALL; 
        NODE_COVEROP_MODE_SNORM; 
        NODE_COVEROP_MODE_SRAY; 
        NODE_COVEROP_MODE_POINTS; 
        NODE_COVEROP_MODE_SEQ; 
        NODE_COVEROP_MODE_SEQRAN; 
        NODE_COVEROP_MODE_FILL; 
        NODE_COVEROP_MODE_TEXTURE; 
    }
}
            

Header File Code (GVxpcover.h)

#ifndef GVXPCOVER_H__
#define GVXPCOVER_H__
enum
{
  GV_XPCOVER_NODE_OPERATION = 1000,  //First ID should start at 1000
    NODE_COVEROP_MODE_ALL = 1,
    NODE_COVEROP_MODE_SNORM = 2,
    NODE_COVEROP_MODE_SRAY = 3,
    NODE_COVEROP_MODE_POINTS = 4,
    NODE_COVEROP_MODE_SEQ = 5,
    NODE_COVEROP_MODE_SEQRAN = 6,
    NODE_COVEROP_MODE_FILL = 7,
    NODE_COVEROP_MODE_TEXTURE = 8,
};
#endif	// GVXPCOVER_H__

String File Code (GVxpcover.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  GV_XPCOVER_NODE_OPERATION    "Operation";
    NODE_COVEROP_MODE_ALL    "AllPolygons";
    NODE_COVEROP_MODE_SNORM    "VisiblePolygons(UsingNormals)";
    NODE_COVEROP_MODE_SRAY    "VisiblePolygons(UsingRays)";
    NODE_COVEROP_MODE_POINTS    "ObjectVertices(Random)";
    NODE_COVEROP_MODE_SEQ    "ObjectVertices(Ordered)";
    NODE_COVEROP_MODE_SEQRAN    "ObjectVertices(Ordered,Random)";
    NODE_COVEROP_MODE_FILL    "ObjectVolume";
    NODE_COVEROP_MODE_TEXTURE    "Texture";
}