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 ID_FRACTURETAG_SPLINE_DISTRIBUTION
Element Information
Sample Code
Example code for the id ID_FRACTURETAG_SPLINE_DISTRIBUTION in tfracturevoronoi
Note that this is not the actual code from the tfracturevoronoi file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (tfracturevoronoi.res)
LONG ID_FRACTURETAG_SPLINE_DISTRIBUTION { FIT_H ; CYCLE { ID_FRACTURETAG_SPLINE_EVEN; ID_FRACTURETAG_SPLINE_STEP; ID_FRACTURETAG_SPLINE_COUNT; ID_FRACTURETAG_SPLINE_VERTICES; } }
Header File Code (tfracturevoronoi.h)
#ifndef TFRACTUREVORONOI_H__ #define TFRACTUREVORONOI_H__ enum { ID_FRACTURETAG_SPLINE_DISTRIBUTION = 1000, //First ID should start at 1000 ID_FRACTURETAG_SPLINE_EVEN = 1, ID_FRACTURETAG_SPLINE_STEP = 2, ID_FRACTURETAG_SPLINE_COUNT = 3, ID_FRACTURETAG_SPLINE_VERTICES = 4, }; #endif // TFRACTUREVORONOI_H__
String File Code (tfracturevoronoi.str)
// C4D-StringResource // Identifier Text STRINGTABLE { ID_FRACTURETAG_SPLINE_DISTRIBUTION "Distribution"; ID_FRACTURETAG_SPLINE_EVEN "Even"; ID_FRACTURETAG_SPLINE_STEP "Step"; ID_FRACTURETAG_SPLINE_COUNT "Count"; ID_FRACTURETAG_SPLINE_VERTICES "Vertices"; }