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 GLTFEXPORTER_MORPHANIMATIONS in fgltfexporter

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

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

Resource File Code (fgltfexporter.res)


LONG  GLTFEXPORTER_MORPHANIMATIONS
{
DEFAULT  GLTFEXPORTER_MORPHANIMATIONS_POSEMORPH;                          
    CYCLE 
    {         GLTFEXPORTER_MORPHANIMATIONS_NONE; 
        GLTFEXPORTER_MORPHANIMATIONS_POSEMORPH; 
        GLTFEXPORTER_MORPHANIMATIONS_PLA; 
    }
}
            

Header File Code (fgltfexporter.h)

#ifndef FGLTFEXPORTER_H__
#define FGLTFEXPORTER_H__
enum
{
  GLTFEXPORTER_MORPHANIMATIONS = 1000,  //First ID should start at 1000
    GLTFEXPORTER_MORPHANIMATIONS_NONE = 1,
    GLTFEXPORTER_MORPHANIMATIONS_POSEMORPH = 2,
    GLTFEXPORTER_MORPHANIMATIONS_PLA = 3,
};
#endif	// FGLTFEXPORTER_H__

String File Code (fgltfexporter.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  GLTFEXPORTER_MORPHANIMATIONS    "Morph";
    GLTFEXPORTER_MORPHANIMATIONS_NONE    "None";
    GLTFEXPORTER_MORPHANIMATIONS_POSEMORPH    "PoseMorph";
    GLTFEXPORTER_MORPHANIMATIONS_PLA    "PLA";
}