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 XMPATH_SPEED_MODE
Element Information
Sample Code
Example code for the id XMPATH_SPEED_MODE in Ompath
Note that this is not the actual code from the Ompath file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Ompath.res)
LONG XMPATH_SPEED_MODE { CYCLE { PATH_SPEED_MODE_INITIAL; PATH_SPEED_MODE_SET; PATH_SPEED_MODE_TAG_SET; PATH_SPEED_MODE_TAG_INCR; } }
Header File Code (Ompath.h)
#ifndef OMPATH_H__ #define OMPATH_H__ enum { XMPATH_SPEED_MODE = 1000, //First ID should start at 1000 PATH_SPEED_MODE_INITIAL = 1, PATH_SPEED_MODE_SET = 2, PATH_SPEED_MODE_TAG_SET = 3, PATH_SPEED_MODE_TAG_INCR = 4, }; #endif // OMPATH_H__
String File Code (Ompath.str)
// C4D-StringResource // Identifier Text STRINGTABLE { XMPATH_SPEED_MODE "SpeedMode"; PATH_SPEED_MODE_INITIAL "NoChange"; PATH_SPEED_MODE_SET "SetSpeed"; PATH_SPEED_MODE_TAG_SET "GetSpeedfromTag"; PATH_SPEED_MODE_TAG_INCR "IncrementSpeedfromTag"; }