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 XACTNULL_ACTIONS_MODIFIERS in Oxactnull

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

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

Resource File Code (Oxactnull.res)


LONG  XACTNULL_ACTIONS_MODIFIERS
{
ANIM  OFF;  CUSTOMGUI  CYCLE;                          
    CYCLE 
    {         XACTNULL_CHOOSE_MOD; 
        1029574; 
        XACTNULL_AATTRACTOR; 
        1027507; 
        XACTNULL_AAVOID; 
        1032398; 
        XACTNULL_ABRANCH; 
        1031918; 
        XACTNULL_ACOLOUR; 
        1031812; 
        XACTNULL_ACOVERTARGET; 
        1027805; 
        XACTNULL_ADRAG; 
        1034308; 
        XACTNULL_ADIRECTION; 
        1027503; 
        XACTNULL_ADYNPART; 
        1033836; 
        XACTNULL_AFLOCKING; 
        1027801; 
        XACTNULL_APATH; 
        1030808; 
        XACTNULL_AFSPLINE; 
        1030334; 
        XACTNULL_AMOS; 
        1031221; 
        XACTNULL_AINHERIT; 
        1033798; 
        XACTNULL_AKILL; 
        1033945; 
        XACTNULL_AGASEOUS; 
        1034634; 
        XACTNULL_AGRAVITY; 
        1027627; 
        XACTNULL_AVECMASK; 
        1031995; 
        XACTNULL_ANETWORK; 
        1031634; 
        XACTNULL_APHYSICAL; 
        1033741; 
        XACTNULL_APYTHON; 
        1030733; 
        XACTNULL_AREWIND; 
        1032422; 
        XACTNULL_AROTATOR; 
        1029161; 
        XACTNULL_ASOUND; 
        1035560; 
        XACTNULL_ASPRITEM; 
        1029127; 
        XACTNULL_ATENDRIL; 
        1032042; 
        XACTNULL_ATEXT; 
        1029126; 
        XACTNULL_ATRANSFORM; 
        1032297; 
        XACTNULL_ATRIGACT; 
        1030932; 
        XACTNULL_ATURB; 
        1027509; 
        XACTNULL_AVORTEX; 
        1033725; 
        XACTNULL_AVORTICITY; 
        1034635; 
        XACTNULL_AWEIGHT; 
        1033727; 
        XACTNULL_AWIND; 
        1029150; 
    }
}
            

Header File Code (Oxactnull.h)

#ifndef OXACTNULL_H__
#define OXACTNULL_H__
enum
{
  XACTNULL_ACTIONS_MODIFIERS = 1000,  //First ID should start at 1000
    XACTNULL_CHOOSE_MOD = 1,
    1029574 = 2,
    XACTNULL_AATTRACTOR = 3,
    1027507 = 4,
    XACTNULL_AAVOID = 5,
    1032398 = 6,
    XACTNULL_ABRANCH = 7,
    1031918 = 8,
    XACTNULL_ACOLOUR = 9,
    1031812 = 10,
    XACTNULL_ACOVERTARGET = 11,
    1027805 = 12,
    XACTNULL_ADRAG = 13,
    1034308 = 14,
    XACTNULL_ADIRECTION = 15,
    1027503 = 16,
    XACTNULL_ADYNPART = 17,
    1033836 = 18,
    XACTNULL_AFLOCKING = 19,
    1027801 = 20,
    XACTNULL_APATH = 21,
    1030808 = 22,
    XACTNULL_AFSPLINE = 23,
    1030334 = 24,
    XACTNULL_AMOS = 25,
    1031221 = 26,
    XACTNULL_AINHERIT = 27,
    1033798 = 28,
    XACTNULL_AKILL = 29,
    1033945 = 30,
    XACTNULL_AGASEOUS = 31,
    1034634 = 32,
    XACTNULL_AGRAVITY = 33,
    1027627 = 34,
    XACTNULL_AVECMASK = 35,
    1031995 = 36,
    XACTNULL_ANETWORK = 37,
    1031634 = 38,
    XACTNULL_APHYSICAL = 39,
    1033741 = 40,
    XACTNULL_APYTHON = 41,
    1030733 = 42,
    XACTNULL_AREWIND = 43,
    1032422 = 44,
    XACTNULL_AROTATOR = 45,
    1029161 = 46,
    XACTNULL_ASOUND = 47,
    1035560 = 48,
    XACTNULL_ASPRITEM = 49,
    1029127 = 50,
    XACTNULL_ATENDRIL = 51,
    1032042 = 52,
    XACTNULL_ATEXT = 53,
    1029126 = 54,
    XACTNULL_ATRANSFORM = 55,
    1032297 = 56,
    XACTNULL_ATRIGACT = 57,
    1030932 = 58,
    XACTNULL_ATURB = 59,
    1027509 = 60,
    XACTNULL_AVORTEX = 61,
    1033725 = 62,
    XACTNULL_AVORTICITY = 63,
    1034635 = 64,
    XACTNULL_AWEIGHT = 65,
    1033727 = 66,
    XACTNULL_AWIND = 67,
    1029150 = 68,
};
#endif	// OXACTNULL_H__

String File Code (Oxactnull.str)

// C4D-StringResource
// Identifier	Text
STRINGTABLE
{
  XACTNULL_ACTIONS_MODIFIERS    "ControlModifierActions";
    XACTNULL_CHOOSE_MOD    "ChooseControlModifierAction...";
    1029574    "";
    XACTNULL_AATTRACTOR    "AttractorModifier";
    1027507    "";
    XACTNULL_AAVOID    "AvoidModifier";
    1032398    "";
    XACTNULL_ABRANCH    "BranchingModifier";
    1031918    "";
    XACTNULL_ACOLOUR    "ColorModifier";
    1031812    "";
    XACTNULL_ACOVERTARGET    "Cover/TargetModifier";
    1027805    "";
    XACTNULL_ADRAG    "DragModifer";
    1034308    "";
    XACTNULL_ADIRECTION    "DirectionModifier";
    1027503    "";
    XACTNULL_ADYNPART    "DynamicParticlesModifier";
    1033836    "";
    XACTNULL_AFLOCKING    "FlockingModifier";
    1027801    "";
    XACTNULL_APATH    "FollowPathModifier";
    1030808    "";
    XACTNULL_AFSPLINE    "FollowSplineModifier";
    1030334    "";
    XACTNULL_AMOS    "FollowSurfaceModifier";
    1031221    "";
    XACTNULL_AINHERIT    "InheritanceModifier";
    1033798    "";
    XACTNULL_AKILL    "KillModifier";
    1033945    "";
    XACTNULL_AGASEOUS    "GaseousModifier";
    1034634    "";
    XACTNULL_AGRAVITY    "GravityModifier";
    1027627    "";
    XACTNULL_AVECMASK    "LimitModifier";
    1031995    "";
    XACTNULL_ANETWORK    "NetworkModifier";
    1031634    "";
    XACTNULL_APHYSICAL    "PhysicalModifier";
    1033741    "";
    XACTNULL_APYTHON    "PythonModifier";
    1030733    "";
    XACTNULL_AREWIND    "RewindModifier";
    1032422    "";
    XACTNULL_AROTATOR    "RotatorModifier";
    1029161    "";
    XACTNULL_ASOUND    "SoundModifier";
    1035560    "";
    XACTNULL_ASPRITEM    "SpriteShaderModifier";
    1029127    "";
    XACTNULL_ATENDRIL    "TendrilModifier";
    1032042    "";
    XACTNULL_ATEXT    "TextModifier";
    1029126    "";
    XACTNULL_ATRANSFORM    "TransformModifier";
    1032297    "";
    XACTNULL_ATRIGACT    "TriggerActionModifier";
    1030932    "";
    XACTNULL_ATURB    "TurbulenceModifier";
    1027509    "";
    XACTNULL_AVORTEX    "VortexModifier";
    1033725    "";
    XACTNULL_AVORTICITY    "VorticityModifier";
    1034635    "";
    XACTNULL_AWEIGHT    "WeightModifier";
    1033727    "";
    XACTNULL_AWIND    "WindModifier";
    1029150    "";
}