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