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 LINECURVE_TYPE
Element Information
Sample Code
Example code for the id LINECURVE_TYPE in CBline
Note that this is not the actual code from the CBline file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (CBline.res)
LONG LINECURVE_TYPE { CYCLE { LINECURVE_BOUNDED; LINECURVE_SEMIBOUNDED; LINECURVE_UNBOUNDED; } }
Header File Code (CBline.h)
#ifndef CBLINE_H__ #define CBLINE_H__ enum { LINECURVE_TYPE = 1000, //First ID should start at 1000 LINECURVE_BOUNDED = 1, LINECURVE_SEMIBOUNDED = 2, LINECURVE_UNBOUNDED = 3, }; #endif // CBLINE_H__
String File Code (CBline.str)
// C4D-StringResource // Identifier Text STRINGTABLE { LINECURVE_TYPE "LineType"; LINECURVE_BOUNDED "Bounded"; LINECURVE_SEMIBOUNDED "Semibounded"; LINECURVE_UNBOUNDED "Unbounded"; }