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 MDATA_SPLINEROUND_TYPE
Element Information
Sample Code
Example code for the id MDATA_SPLINEROUND_TYPE in ToolSplineRound
Note that this is not the actual code from the ToolSplineRound file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (ToolSplineRound.res)
LONG MDATA_SPLINEROUND_TYPE { CYCLE { MDATA_SPLINEROUND_TYPE_LINEAR; MDATA_SPLINEROUND_TYPE_CUBIC; MDATA_SPLINEROUND_TYPE_AKIMA; MDATA_SPLINEROUND_TYPE_BSPLINE; MDATA_SPLINEROUND_TYPE_BEZIER; } }
Header File Code (ToolSplineRound.h)
#ifndef TOOLSPLINEROUND_H__ #define TOOLSPLINEROUND_H__ enum { MDATA_SPLINEROUND_TYPE = 1000, //First ID should start at 1000 MDATA_SPLINEROUND_TYPE_LINEAR = 1, MDATA_SPLINEROUND_TYPE_CUBIC = 2, MDATA_SPLINEROUND_TYPE_AKIMA = 3, MDATA_SPLINEROUND_TYPE_BSPLINE = 4, MDATA_SPLINEROUND_TYPE_BEZIER = 5, }; #endif // TOOLSPLINEROUND_H__
String File Code (ToolSplineRound.str)
// C4D-StringResource // Identifier Text STRINGTABLE { MDATA_SPLINEROUND_TYPE "Type"; MDATA_SPLINEROUND_TYPE_LINEAR "Linear"; MDATA_SPLINEROUND_TYPE_CUBIC "Cubic"; MDATA_SPLINEROUND_TYPE_AKIMA "Akima"; MDATA_SPLINEROUND_TYPE_BSPLINE "B-Spline"; MDATA_SPLINEROUND_TYPE_BEZIER "B\u00e9zier"; }