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_TDELTAMUSH_WEIGHT_TYPE
Element Information
Sample Code
Example code for the id ID_TDELTAMUSH_WEIGHT_TYPE in tdeltamush
Note that this is not the actual code from the tdeltamush file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (tdeltamush.res)
LONG ID_TDELTAMUSH_WEIGHT_TYPE { CYCLE { ID_TDELTAMUSH_WEIGHT_FIX; ID_TDELTAMUSH_WEIGHT_PROPORTIONAL; } }
Header File Code (tdeltamush.h)
#ifndef TDELTAMUSH_H__ #define TDELTAMUSH_H__ enum { ID_TDELTAMUSH_WEIGHT_TYPE = 1000, //First ID should start at 1000 ID_TDELTAMUSH_WEIGHT_FIX = 1, ID_TDELTAMUSH_WEIGHT_PROPORTIONAL = 2, }; #endif // TDELTAMUSH_H__
String File Code (tdeltamush.str)
// C4D-StringResource // Identifier Text STRINGTABLE { ID_TDELTAMUSH_WEIGHT_TYPE "SmoothType"; ID_TDELTAMUSH_WEIGHT_FIX "Fixed"; ID_TDELTAMUSH_WEIGHT_PROPORTIONAL "Proportional"; }