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_MODS3 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_MODS3
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_7; 
        1029576; 
        SYSOBJ_LIGHT; 
        1027988; 
        SYSOBJ_SPRITEM; 
        1028062; 
        SYSOBJ_SPSHADER; 
        1029093; 
        SYSOBJ_TEXT; 
        1029133; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_MODS3 = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_7 = 1,
    1029576 = 2,
    SYSOBJ_LIGHT = 3,
    1027988 = 4,
    SYSOBJ_SPRITEM = 5,
    1028062 = 6,
    SYSOBJ_SPSHADER = 7,
    1029093 = 8,
    SYSOBJ_TEXT = 9,
    1029133 = 10,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_MODS3    "SpritesModifiers";
    SYSOBJ_CHOOSE_7    "ChooseSpritesModifier...";
    1029576    "";
    SYSOBJ_LIGHT    "Light";
    1027988    "";
    SYSOBJ_SPRITEM    "Sprite";
    1028062    "";
    SYSOBJ_SPSHADER    "SpriteShader";
    1029093    "";
    SYSOBJ_TEXT    "Text";
    1029133    "";
}