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_MODS2 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_MODS2
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         SYSOBJ_CHOOSE_6; 
        1029576; 
        SYSOBJ_ATTRACTOR; 
        1029473; 
        SYSOBJ_AVOID; 
        1032382; 
        SYSOBJ_COVERTARGET; 
        1027732; 
        SYSOBJ_DIRECTION; 
        1027694; 
        SYSOBJ_DRAG; 
        1034299; 
        SYSOBJ_EXPLODE; 
        1032295; 
        SYSOBJ_FLOCKING; 
        1027435; 
        SYSOBJ_FPATH; 
        1030775; 
        SYSOBJ_FSPLINE; 
        1029994; 
        SYSOBJ_MOS; 
        1031213; 
        SYSOBJ_GASEOUS; 
        1033594; 
        SYSOBJ_GRAVITY; 
        1027669; 
        SYSOBJ_VECMASK; 
        1031969; 
        SYSOBJ_NETWORK; 
        1031609; 
        SYSOBJ_ROTATOR; 
        1029151; 
        SYSOBJ_SPEED; 
        1027668; 
        SYSOBJ_SPIN; 
        1027710; 
        SYSOBJ_TURB; 
        1027629; 
        SYSOBJ_VORTEX; 
        1033565; 
        SYSOBJ_VORTICITY; 
        1033618; 
        SYSOBJ_WIND; 
        1029148; 
    }
}
            

Header File Code (Oxpsystem.h)

#ifndef OXPSYSTEM_H__
#define OXPSYSTEM_H__
enum
{
  XOVM_SYSOBJ_MODS2 = 1000,  //First ID should start at 1000
    SYSOBJ_CHOOSE_6 = 1,
    1029576 = 2,
    SYSOBJ_ATTRACTOR = 3,
    1029473 = 4,
    SYSOBJ_AVOID = 5,
    1032382 = 6,
    SYSOBJ_COVERTARGET = 7,
    1027732 = 8,
    SYSOBJ_DIRECTION = 9,
    1027694 = 10,
    SYSOBJ_DRAG = 11,
    1034299 = 12,
    SYSOBJ_EXPLODE = 13,
    1032295 = 14,
    SYSOBJ_FLOCKING = 15,
    1027435 = 16,
    SYSOBJ_FPATH = 17,
    1030775 = 18,
    SYSOBJ_FSPLINE = 19,
    1029994 = 20,
    SYSOBJ_MOS = 21,
    1031213 = 22,
    SYSOBJ_GASEOUS = 23,
    1033594 = 24,
    SYSOBJ_GRAVITY = 25,
    1027669 = 26,
    SYSOBJ_VECMASK = 27,
    1031969 = 28,
    SYSOBJ_NETWORK = 29,
    1031609 = 30,
    SYSOBJ_ROTATOR = 31,
    1029151 = 32,
    SYSOBJ_SPEED = 33,
    1027668 = 34,
    SYSOBJ_SPIN = 35,
    1027710 = 36,
    SYSOBJ_TURB = 37,
    1027629 = 38,
    SYSOBJ_VORTEX = 39,
    1033565 = 40,
    SYSOBJ_VORTICITY = 41,
    1033618 = 42,
    SYSOBJ_WIND = 43,
    1029148 = 44,
};
#endif	// OXPSYSTEM_H__

String File Code (Oxpsystem.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XOVM_SYSOBJ_MODS2    "MotionModifiers";
    SYSOBJ_CHOOSE_6    "ChooseMotionModifier...";
    1029576    "";
    SYSOBJ_ATTRACTOR    "Attractor";
    1029473    "";
    SYSOBJ_AVOID    "Avoid";
    1032382    "";
    SYSOBJ_COVERTARGET    "Cover/Target";
    1027732    "";
    SYSOBJ_DIRECTION    "Direction";
    1027694    "";
    SYSOBJ_DRAG    "Drag";
    1034299    "";
    SYSOBJ_EXPLODE    "Explode";
    1032295    "";
    SYSOBJ_FLOCKING    "Flocking";
    1027435    "";
    SYSOBJ_FPATH    "FollowPath";
    1030775    "";
    SYSOBJ_FSPLINE    "FollowSpline";
    1029994    "";
    SYSOBJ_MOS    "FollowSurface";
    1031213    "";
    SYSOBJ_GASEOUS    "Gaseous";
    1033594    "";
    SYSOBJ_GRAVITY    "Gravity";
    1027669    "";
    SYSOBJ_VECMASK    "Limit";
    1031969    "";
    SYSOBJ_NETWORK    "Network";
    1031609    "";
    SYSOBJ_ROTATOR    "Rotator";
    1029151    "";
    SYSOBJ_SPEED    "Speed";
    1027668    "";
    SYSOBJ_SPIN    "Spin";
    1027710    "";
    SYSOBJ_TURB    "Turbulence";
    1027629    "";
    SYSOBJ_VORTEX    "Vortex";
    1033565    "";
    SYSOBJ_VORTICITY    "Vorticity";
    1033618    "";
    SYSOBJ_WIND    "Wind";
    1029148    "";
}