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 SYMMETRYOBJECT_PLANE
Element Information
Sample Code
Example code for the id SYMMETRYOBJECT_PLANE in Osymmetry
Note that this is not the actual code from the Osymmetry file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Osymmetry.res)
LONG SYMMETRYOBJECT_PLANE { CYCLE { SYMMETRYOBJECT_PLANE_XY; SYMMETRYOBJECT_PLANE_YZ; SYMMETRYOBJECT_PLANE_XZ; } }
Header File Code (Osymmetry.h)
#ifndef OSYMMETRY_H__ #define OSYMMETRY_H__ enum { SYMMETRYOBJECT_PLANE = 1000, //First ID should start at 1000 SYMMETRYOBJECT_PLANE_XY = 1, SYMMETRYOBJECT_PLANE_YZ = 2, SYMMETRYOBJECT_PLANE_XZ = 3, }; #endif // OSYMMETRY_H__
String File Code (Osymmetry.str)
// C4D-StringResource // Identifier Text STRINGTABLE { SYMMETRYOBJECT_PLANE "MirrorPlane"; SYMMETRYOBJECT_PLANE_XY "XY"; SYMMETRYOBJECT_PLANE_YZ "ZY"; SYMMETRYOBJECT_PLANE_XZ "XZ"; }