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_MODS2 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_MODS2
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XMODNULL_CHOOSE_2; 
        1029576; 
        XMODNULL_ATTRACTOR; 
        1029473; 
        XMODNULL_AVOID; 
        1032382; 
        XMODNULL_COVERTARGET; 
        1027732; 
        XMODNULL_DIRECTION; 
        1027694; 
        XMODNULL_DRAG; 
        1034299; 
        XMODNULL_EXPLODE; 
        1032295; 
        XMODNULL_FLOCKING; 
        1027435; 
        XMODNULL_FPATH; 
        1030775; 
        XMODNULL_FSPLINE; 
        1029994; 
        XMODNULL_MOS; 
        1031213; 
        XMODNULL_GASEOUS; 
        1033594; 
        XMODNULL_GRAVITY; 
        1027669; 
        XMODNULL_VECMASK; 
        1031969; 
        XMODNULL_NETWORK; 
        1031609; 
        XMODNULL_ROTATOR; 
        1029151; 
        XMODNULL_SPEED; 
        1027668; 
        XMODNULL_SPIN; 
        1027710; 
        XMODNULL_TURB; 
        1027629; 
        XMODNULL_VORTEX; 
        1033565; 
        XMODNULL_VORTICITY; 
        1033618; 
        XMODNULL_WIND; 
        1029148; 
    }
}
            

Header File Code (Oxmodnull.h)

#ifndef OXMODNULL_H__
#define OXMODNULL_H__
enum
{
  XMODNULL_MODS2 = 1000,  //First ID should start at 1000
    XMODNULL_CHOOSE_2 = 1,
    1029576 = 2,
    XMODNULL_ATTRACTOR = 3,
    1029473 = 4,
    XMODNULL_AVOID = 5,
    1032382 = 6,
    XMODNULL_COVERTARGET = 7,
    1027732 = 8,
    XMODNULL_DIRECTION = 9,
    1027694 = 10,
    XMODNULL_DRAG = 11,
    1034299 = 12,
    XMODNULL_EXPLODE = 13,
    1032295 = 14,
    XMODNULL_FLOCKING = 15,
    1027435 = 16,
    XMODNULL_FPATH = 17,
    1030775 = 18,
    XMODNULL_FSPLINE = 19,
    1029994 = 20,
    XMODNULL_MOS = 21,
    1031213 = 22,
    XMODNULL_GASEOUS = 23,
    1033594 = 24,
    XMODNULL_GRAVITY = 25,
    1027669 = 26,
    XMODNULL_VECMASK = 27,
    1031969 = 28,
    XMODNULL_NETWORK = 29,
    1031609 = 30,
    XMODNULL_ROTATOR = 31,
    1029151 = 32,
    XMODNULL_SPEED = 33,
    1027668 = 34,
    XMODNULL_SPIN = 35,
    1027710 = 36,
    XMODNULL_TURB = 37,
    1027629 = 38,
    XMODNULL_VORTEX = 39,
    1033565 = 40,
    XMODNULL_VORTICITY = 41,
    1033618 = 42,
    XMODNULL_WIND = 43,
    1029148 = 44,
};
#endif	// OXMODNULL_H__

String File Code (Oxmodnull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XMODNULL_MODS2    "MotionModifiers";
    XMODNULL_CHOOSE_2    "ChooseMotionModifier...";
    1029576    "";
    XMODNULL_ATTRACTOR    "Attractor";
    1029473    "";
    XMODNULL_AVOID    "Avoid";
    1032382    "";
    XMODNULL_COVERTARGET    "Cover/Target";
    1027732    "";
    XMODNULL_DIRECTION    "Direction";
    1027694    "";
    XMODNULL_DRAG    "Drag";
    1034299    "";
    XMODNULL_EXPLODE    "Explode";
    1032295    "";
    XMODNULL_FLOCKING    "Flocking";
    1027435    "";
    XMODNULL_FPATH    "FollowPath";
    1030775    "";
    XMODNULL_FSPLINE    "FollowSpline";
    1029994    "";
    XMODNULL_MOS    "FollowSurface";
    1031213    "";
    XMODNULL_GASEOUS    "Gaseous";
    1033594    "";
    XMODNULL_GRAVITY    "Gravity";
    1027669    "";
    XMODNULL_VECMASK    "Limit";
    1031969    "";
    XMODNULL_NETWORK    "Network";
    1031609    "";
    XMODNULL_ROTATOR    "Rotator";
    1029151    "";
    XMODNULL_SPEED    "Speed";
    1027668    "";
    XMODNULL_SPIN    "Spin";
    1027710    "";
    XMODNULL_TURB    "Turbulence";
    1027629    "";
    XMODNULL_VORTEX    "Vortex";
    1033565    "";
    XMODNULL_VORTICITY    "Vorticity";
    1033618    "";
    XMODNULL_WIND    "Wind";
    1029148    "";
}