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