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 FORCE_TYPE
Element Information
Sample Code
Example code for the id FORCE_TYPE in DynInteraction
Note that this is not the actual code from the DynInteraction file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (DynInteraction.res)
LONG FORCE_TYPE { CYCLE { FORCE_TYPE_LINEAR; 180000010; FORCE_TYPE_ANGULAR; 180000181; FORCE_TYPE_BOTH; 180000182; } }
Header File Code (DynInteraction.h)
#ifndef DYNINTERACTION_H__ #define DYNINTERACTION_H__ enum { FORCE_TYPE = 1000, //First ID should start at 1000 FORCE_TYPE_LINEAR = 1, 180000010 = 2, FORCE_TYPE_ANGULAR = 3, 180000181 = 4, FORCE_TYPE_BOTH = 5, 180000182 = 6, }; #endif // DYNINTERACTION_H__
String File Code (DynInteraction.str)
// C4D-StringResource // Identifier Text STRINGTABLE { FORCE_TYPE "Type"; FORCE_TYPE_LINEAR "Linear"; 180000010 ""; FORCE_TYPE_ANGULAR "Angular"; 180000181 ""; FORCE_TYPE_BOTH "LinearandAngular"; 180000182 ""; }