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 XOVM_SYSOBJ_MODS1 in Oxpsystem

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

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

Resource File Code (Oxpsystem.res)


LONG  XOVM_SYSOBJ_MODS1
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_3; 
        1029576; 
        SYSOBJ_CHANGEGROUP; 
        1028704; 
        SYSOBJ_COLOUR; 
        1031808; 
        SYSOBJ_FREEZE; 
        1027690; 
        SYSOBJ_INHERIT; 
        1033797; 
        SYSOBJ_KILL; 
        1030476; 
        SYSOBJ_PLIFE; 
        1027691; 
        SYSOBJ_PHYSICAL; 
        1033736; 
        SYSOBJ_PYTHON; 
        1030729; 
        SYSOBJ_REWIND; 
        1032421; 
        SYSOBJ_SOUND; 
        1035482; 
        SYSOBJ_TRANSFORM; 
        1032143; 
        SYSOBJ_ACTION; 
        1030914; 
        SYSOBJ_UNLINKTP; 
        1028231; 
        SYSOBJ_WEIGHT; 
        1031653; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_MODS1 = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_3 = 1,
    1029576 = 2,
    SYSOBJ_CHANGEGROUP = 3,
    1028704 = 4,
    SYSOBJ_COLOUR = 5,
    1031808 = 6,
    SYSOBJ_FREEZE = 7,
    1027690 = 8,
    SYSOBJ_INHERIT = 9,
    1033797 = 10,
    SYSOBJ_KILL = 11,
    1030476 = 12,
    SYSOBJ_PLIFE = 13,
    1027691 = 14,
    SYSOBJ_PHYSICAL = 15,
    1033736 = 16,
    SYSOBJ_PYTHON = 17,
    1030729 = 18,
    SYSOBJ_REWIND = 19,
    1032421 = 20,
    SYSOBJ_SOUND = 21,
    1035482 = 22,
    SYSOBJ_TRANSFORM = 23,
    1032143 = 24,
    SYSOBJ_ACTION = 25,
    1030914 = 26,
    SYSOBJ_UNLINKTP = 27,
    1028231 = 28,
    SYSOBJ_WEIGHT = 29,
    1031653 = 30,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_MODS1    "ControlModifiers";
    SYSOBJ_CHOOSE_3    "ChooseControlModifier...";
    1029576    "";
    SYSOBJ_CHANGEGROUP    "ChangeGroup";
    1028704    "";
    SYSOBJ_COLOUR    "Color";
    1031808    "";
    SYSOBJ_FREEZE    "Freeze";
    1027690    "";
    SYSOBJ_INHERIT    "Inheritance";
    1033797    "";
    SYSOBJ_KILL    "Kill";
    1030476    "";
    SYSOBJ_PLIFE    "ParticleLife";
    1027691    "";
    SYSOBJ_PHYSICAL    "Physical";
    1033736    "";
    SYSOBJ_PYTHON    "Python";
    1030729    "";
    SYSOBJ_REWIND    "Rewind";
    1032421    "";
    SYSOBJ_SOUND    "Sound";
    1035482    "";
    SYSOBJ_TRANSFORM    "Transform";
    1032143    "";
    SYSOBJ_ACTION    "TriggerAction";
    1030914    "";
    SYSOBJ_UNLINKTP    "UnlinkTP";
    1028231    "";
    SYSOBJ_WEIGHT    "Weight";
    1031653    "";
}