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 XMODNULL_MODS1 in Oxmodnull

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

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

Resource File Code (Oxmodnull.res)


LONG  XMODNULL_MODS1
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XMODNULL_CHOOSE_1; 
        1029576; 
        XMODNULL_CHANGEGROUP; 
        1028704; 
        XMODNULL_COLOUR; 
        1031808; 
        XMODNULL_FREEZE; 
        1027690; 
        XMODNULL_INHERIT; 
        1033797; 
        XMODNULL_KILL; 
        1030476; 
        XMODNULL_PLIFE; 
        1027691; 
        XMODNULL_PHYSICAL; 
        1033736; 
        XMODNULL_PYTHON; 
        1030729; 
        XMODNULL_REWIND; 
        1032421; 
        XMODNULL_SOUND; 
        1035482; 
        XMODNULL_TRANSFORM; 
        1032143; 
        XMODNULL_ACTION; 
        1030914; 
        XMODNULL_UNLINKTP; 
        1028231; 
        XMODNULL_WEIGHT; 
        1031653; 
    }
}
            

Header File Code (Oxmodnull.h)

#ifndef OXMODNULL_H__
#define OXMODNULL_H__
enum
{
  XMODNULL_MODS1 = 1000,  //First ID should start at 1000
    XMODNULL_CHOOSE_1 = 1,
    1029576 = 2,
    XMODNULL_CHANGEGROUP = 3,
    1028704 = 4,
    XMODNULL_COLOUR = 5,
    1031808 = 6,
    XMODNULL_FREEZE = 7,
    1027690 = 8,
    XMODNULL_INHERIT = 9,
    1033797 = 10,
    XMODNULL_KILL = 11,
    1030476 = 12,
    XMODNULL_PLIFE = 13,
    1027691 = 14,
    XMODNULL_PHYSICAL = 15,
    1033736 = 16,
    XMODNULL_PYTHON = 17,
    1030729 = 18,
    XMODNULL_REWIND = 19,
    1032421 = 20,
    XMODNULL_SOUND = 21,
    1035482 = 22,
    XMODNULL_TRANSFORM = 23,
    1032143 = 24,
    XMODNULL_ACTION = 25,
    1030914 = 26,
    XMODNULL_UNLINKTP = 27,
    1028231 = 28,
    XMODNULL_WEIGHT = 29,
    1031653 = 30,
};
#endif	// OXMODNULL_H__

String File Code (Oxmodnull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XMODNULL_MODS1    "ControlModifiers";
    XMODNULL_CHOOSE_1    "ChooseControlModifier...";
    1029576    "";
    XMODNULL_CHANGEGROUP    "ChangeGroup";
    1028704    "";
    XMODNULL_COLOUR    "Color";
    1031808    "";
    XMODNULL_FREEZE    "Freeze";
    1027690    "";
    XMODNULL_INHERIT    "Inheritance";
    1033797    "";
    XMODNULL_KILL    "Kill";
    1030476    "";
    XMODNULL_PLIFE    "ParticleLife";
    1027691    "";
    XMODNULL_PHYSICAL    "Physical";
    1033736    "";
    XMODNULL_PYTHON    "Python";
    1030729    "";
    XMODNULL_REWIND    "Rewind";
    1032421    "";
    XMODNULL_SOUND    "Sound";
    1035482    "";
    XMODNULL_TRANSFORM    "Transform";
    1032143    "";
    XMODNULL_ACTION    "TriggerAction";
    1030914    "";
    XMODNULL_UNLINKTP    "UnlinkTP";
    1028231    "";
    XMODNULL_WEIGHT    "Weight";
    1031653    "";
}