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.
ID PARTICLES_EDITOR
Element Information
Sample Code
Example code for the id PARTICLES_EDITOR in Oxparticle
Note that this is not the actual code from the Oxparticle file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Oxparticle.res)
LONG PARTICLES_EDITOR { SCALE_H ; CYCLE { PARTICLES_EDITOR_DOT; PARTICLES_EDITOR_TICK; PARTICLES_EDITOR_AXIS; PARTICLES_EDITOR_BOX; PARTICLES_EDITOR_BOX3D; PARTICLES_EDITOR_BOX3D_FILLED; PARTICLES_EDITOR_SPHERE; PARTICLES_EDITOR_LINE; PARTICLES_EDITOR_CIRCLE; PARTICLES_EDITOR_CIRCLE_FILLED; PARTICLES_EDITOR_PYRAMID; PARTICLES_EDITOR_ARROW; PARTICLES_EDITOR_ARROW_FILLED; PARTICLES_EDITOR_PLANE; PARTICLES_EDITOR_PLANE_FILLED; PARTICLES_EDITOR_NONE; } }
Header File Code (Oxparticle.h)
#ifndef OXPARTICLE_H__ #define OXPARTICLE_H__ enum { PARTICLES_EDITOR = 1000, //First ID should start at 1000 PARTICLES_EDITOR_DOT = 1, PARTICLES_EDITOR_TICK = 2, PARTICLES_EDITOR_AXIS = 3, PARTICLES_EDITOR_BOX = 4, PARTICLES_EDITOR_BOX3D = 5, PARTICLES_EDITOR_BOX3D_FILLED = 6, PARTICLES_EDITOR_SPHERE = 7, PARTICLES_EDITOR_LINE = 8, PARTICLES_EDITOR_CIRCLE = 9, PARTICLES_EDITOR_CIRCLE_FILLED = 10, PARTICLES_EDITOR_PYRAMID = 11, PARTICLES_EDITOR_ARROW = 12, PARTICLES_EDITOR_ARROW_FILLED = 13, PARTICLES_EDITOR_PLANE = 14, PARTICLES_EDITOR_PLANE_FILLED = 15, PARTICLES_EDITOR_NONE = 16, }; #endif // OXPARTICLE_H__
String File Code (Oxparticle.str)
// C4D-StringResource // Identifier Text STRINGTABLE { PARTICLES_EDITOR "EditorDisplay"; PARTICLES_EDITOR_DOT "Dots"; PARTICLES_EDITOR_TICK "Ticks"; PARTICLES_EDITOR_AXIS "Axes"; PARTICLES_EDITOR_BOX "Squares"; PARTICLES_EDITOR_BOX3D "Box"; PARTICLES_EDITOR_BOX3D_FILLED "Box(Filled)"; PARTICLES_EDITOR_SPHERE "Spheres"; PARTICLES_EDITOR_LINE "Lines"; PARTICLES_EDITOR_CIRCLE "Circle"; PARTICLES_EDITOR_CIRCLE_FILLED "Circle(Filled)"; PARTICLES_EDITOR_PYRAMID "Pyramid"; PARTICLES_EDITOR_ARROW "Arrow"; PARTICLES_EDITOR_ARROW_FILLED "Arrow(Filled)"; PARTICLES_EDITOR_PLANE "Plane"; PARTICLES_EDITOR_PLANE_FILLED "Plane(Filled)"; PARTICLES_EDITOR_NONE "None"; }