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_BASEOBJECT_VISIBILITY_EDITOR
Element Information
Sample Code
Example code for the id ID_BASEOBJECT_VISIBILITY_EDITOR in Obase
Note that this is not the actual code from the Obase file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Obase.res)
LONG ID_BASEOBJECT_VISIBILITY_EDITOR { CYCLE { OBJECT_UNDEF; OBJECT_ON; OBJECT_OFF; } }
Header File Code (Obase.h)
#ifndef OBASE_H__ #define OBASE_H__ enum { ID_BASEOBJECT_VISIBILITY_EDITOR = 1000, //First ID should start at 1000 OBJECT_UNDEF = 1, OBJECT_ON = 2, OBJECT_OFF = 3, }; #endif // OBASE_H__
String File Code (Obase.str)
// C4D-StringResource // Identifier Text STRINGTABLE { ID_BASEOBJECT_VISIBILITY_EDITOR "VisibleinEditor"; OBJECT_UNDEF "Default"; OBJECT_ON "On"; OBJECT_OFF "Off"; }