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 XPA_ACTION_MODIFIERS in Oxpaction

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

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

Resource File Code (Oxpaction.res)


LONG  XPA_ACTION_MODIFIERS
{
ANIM  OFF;  SCALE_H  ;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XPA_ATTRACTOR; 
        1027507; 
        XPA_AVOID; 
        1032398; 
        XPA_BRANCH; 
        1031918; 
        XPA_COLOUR; 
        1031812; 
        XPA_COVERFILL; 
        1027805; 
        XPA_DIRECT; 
        1027503; 
        XPA_DRAG; 
        1034308; 
        XPA_DYNPART; 
        1033836; 
        XPA_FLOCKING; 
        1027801; 
        XPA_FPATH; 
        1030808; 
        XPA_FSPLINE; 
        1030334; 
        XPA_MOSURFACE; 
        1031221; 
        XPA_GASEOUS; 
        1034634; 
        XPA_GRAVITY; 
        1027627; 
        XPA_INHERIT; 
        1033798; 
        XPA_KILL; 
        1033945; 
        XPA_VECMASK; 
        1031995; 
        XPA_NETWORK; 
        1031634; 
        XPA_PHYSICAL; 
        1033741; 
        XPA_PYTHON; 
        1030733; 
        XPA_REWIND; 
        1032422; 
        XPA_ROTATE; 
        1029161; 
        XPA_SOUND; 
        1035560; 
        XPA_SPRSHADER; 
        1029127; 
        XPA_STREAM; 
        1032042; 
        XPA_TEXT; 
        1029126; 
        XPA_TRANSFORM; 
        1032297; 
        XPA_TRIGACTION; 
        1030932; 
        XPA_TURBULENCE; 
        1027509; 
        XPA_VORTEX; 
        1033725; 
        XPA_VORTICITY; 
        1034635; 
        XPA_WEIGHT; 
        1033727; 
        XPA_WIND; 
        1029150; 
    }
}
            

Header File Code (Oxpaction.h)

#ifndef OXPACTION_H__
#define OXPACTION_H__
enum
{
  XPA_ACTION_MODIFIERS = 1000,  //First ID should start at 1000
    XPA_ATTRACTOR = 1,
    1027507 = 2,
    XPA_AVOID = 3,
    1032398 = 4,
    XPA_BRANCH = 5,
    1031918 = 6,
    XPA_COLOUR = 7,
    1031812 = 8,
    XPA_COVERFILL = 9,
    1027805 = 10,
    XPA_DIRECT = 11,
    1027503 = 12,
    XPA_DRAG = 13,
    1034308 = 14,
    XPA_DYNPART = 15,
    1033836 = 16,
    XPA_FLOCKING = 17,
    1027801 = 18,
    XPA_FPATH = 19,
    1030808 = 20,
    XPA_FSPLINE = 21,
    1030334 = 22,
    XPA_MOSURFACE = 23,
    1031221 = 24,
    XPA_GASEOUS = 25,
    1034634 = 26,
    XPA_GRAVITY = 27,
    1027627 = 28,
    XPA_INHERIT = 29,
    1033798 = 30,
    XPA_KILL = 31,
    1033945 = 32,
    XPA_VECMASK = 33,
    1031995 = 34,
    XPA_NETWORK = 35,
    1031634 = 36,
    XPA_PHYSICAL = 37,
    1033741 = 38,
    XPA_PYTHON = 39,
    1030733 = 40,
    XPA_REWIND = 41,
    1032422 = 42,
    XPA_ROTATE = 43,
    1029161 = 44,
    XPA_SOUND = 45,
    1035560 = 46,
    XPA_SPRSHADER = 47,
    1029127 = 48,
    XPA_STREAM = 49,
    1032042 = 50,
    XPA_TEXT = 51,
    1029126 = 52,
    XPA_TRANSFORM = 53,
    1032297 = 54,
    XPA_TRIGACTION = 55,
    1030932 = 56,
    XPA_TURBULENCE = 57,
    1027509 = 58,
    XPA_VORTEX = 59,
    1033725 = 60,
    XPA_VORTICITY = 61,
    1034635 = 62,
    XPA_WEIGHT = 63,
    1033727 = 64,
    XPA_WIND = 65,
    1029150 = 66,
};
#endif	// OXPACTION_H__

String File Code (Oxpaction.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XPA_ACTION_MODIFIERS    "ControlModifierActions";
    XPA_ATTRACTOR    "AttractorModifier";
    1027507    "";
    XPA_AVOID    "AvoidModifier";
    1032398    "";
    XPA_BRANCH    "BranchingModifier";
    1031918    "";
    XPA_COLOUR    "ColorModifier";
    1031812    "";
    XPA_COVERFILL    "Cover/TargetModifier";
    1027805    "";
    XPA_DIRECT    "DirectionModifier";
    1027503    "";
    XPA_DRAG    "DragModifier";
    1034308    "";
    XPA_DYNPART    "DynamicParticlesModifier";
    1033836    "";
    XPA_FLOCKING    "FlockingModifier";
    1027801    "";
    XPA_FPATH    "FollowPathModifier";
    1030808    "";
    XPA_FSPLINE    "FollowSplineModifier";
    1030334    "";
    XPA_MOSURFACE    "FollowSurfaceModifier";
    1031221    "";
    XPA_GASEOUS    "GaseousModifier";
    1034634    "";
    XPA_GRAVITY    "GravityModifier";
    1027627    "";
    XPA_INHERIT    "InheritanceModifier";
    1033798    "";
    XPA_KILL    "KillModifier";
    1033945    "";
    XPA_VECMASK    "LimitModifier";
    1031995    "";
    XPA_NETWORK    "NetworkModifier";
    1031634    "";
    XPA_PHYSICAL    "PhysicalModifier";
    1033741    "";
    XPA_PYTHON    "PythonModifier";
    1030733    "";
    XPA_REWIND    "RewindModifier";
    1032422    "";
    XPA_ROTATE    "RotatorModifier";
    1029161    "";
    XPA_SOUND    "SoundModifier";
    1035560    "";
    XPA_SPRSHADER    "SpriteShaderModifier";
    1029127    "";
    XPA_STREAM    "TendrilModifier";
    1032042    "";
    XPA_TEXT    "TextModifier";
    1029126    "";
    XPA_TRANSFORM    "TransformModifier";
    1032297    "";
    XPA_TRIGACTION    "TriggerActionModifier";
    1030932    "";
    XPA_TURBULENCE    "TurbulenceModifier";
    1027509    "";
    XPA_VORTEX    "VortexModifier";
    1033725    "";
    XPA_VORTICITY    "VorticityModifier";
    1034635    "";
    XPA_WEIGHT    "WeightModifier";
    1033727    "";
    XPA_WIND    "WindModifier";
    1029150    "";
}