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 MGPUSHAPARTEFFECTOR_MODE
Element Information
Sample Code
Example code for the id MGPUSHAPARTEFFECTOR_MODE in Oepushapart
Note that this is not the actual code from the Oepushapart file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Oepushapart.res)
LONG MGPUSHAPARTEFFECTOR_MODE { FIT_H ; CYCLE { MGPUSHAPARTEFFECTOR_MODE_HIDE; MGPUSHAPARTEFFECTOR_MODE_PUSHAPART; MGPUSHAPARTEFFECTOR_MODE_SCALEAPART; MGPUSHAPARTEFFECTOR_MODE_ALONGX; MGPUSHAPARTEFFECTOR_MODE_ALONGY; MGPUSHAPARTEFFECTOR_MODE_ALONGZ; } }
Header File Code (Oepushapart.h)
#ifndef OEPUSHAPART_H__ #define OEPUSHAPART_H__ enum { MGPUSHAPARTEFFECTOR_MODE = 1000, //First ID should start at 1000 MGPUSHAPARTEFFECTOR_MODE_HIDE = 1, MGPUSHAPARTEFFECTOR_MODE_PUSHAPART = 2, MGPUSHAPARTEFFECTOR_MODE_SCALEAPART = 3, MGPUSHAPARTEFFECTOR_MODE_ALONGX = 4, MGPUSHAPARTEFFECTOR_MODE_ALONGY = 5, MGPUSHAPARTEFFECTOR_MODE_ALONGZ = 6, }; #endif // OEPUSHAPART_H__
String File Code (Oepushapart.str)
// C4D-StringResource // Identifier Text STRINGTABLE { MGPUSHAPARTEFFECTOR_MODE "Mode"; MGPUSHAPARTEFFECTOR_MODE_HIDE "Hide"; MGPUSHAPARTEFFECTOR_MODE_PUSHAPART "PushApart"; MGPUSHAPARTEFFECTOR_MODE_SCALEAPART "ScaleApart"; MGPUSHAPARTEFFECTOR_MODE_ALONGX "AlongX"; MGPUSHAPARTEFFECTOR_MODE_ALONGY "AlongY"; MGPUSHAPARTEFFECTOR_MODE_ALONGZ "AlongZ"; }