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 MDATA_CENTER_XAXIS
Element Information
Sample Code
Example code for the id MDATA_CENTER_XAXIS in ToolCenter
Note that this is not the actual code from the ToolCenter file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (ToolCenter.res)
LONG MDATA_CENTER_XAXIS { CYCLE { MDATA_CENTER_NONE; MDATA_CENTER_POS; MDATA_CENTER_CENTER; MDATA_CENTER_NEG; } }
Header File Code (ToolCenter.h)
#ifndef TOOLCENTER_H__ #define TOOLCENTER_H__ enum { MDATA_CENTER_XAXIS = 1000, //First ID should start at 1000 MDATA_CENTER_NONE = 1, MDATA_CENTER_POS = 2, MDATA_CENTER_CENTER = 3, MDATA_CENTER_NEG = 4, }; #endif // TOOLCENTER_H__
String File Code (ToolCenter.str)
// C4D-StringResource // Identifier Text STRINGTABLE { MDATA_CENTER_XAXIS "XAxis"; MDATA_CENTER_NONE "----"; MDATA_CENTER_POS "Positive"; MDATA_CENTER_CENTER "Middle"; MDATA_CENTER_NEG "Negative"; }