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 DXFEXPORTFILTER_MODE
Element Information
Sample Code
Example code for the id DXFEXPORTFILTER_MODE in Fdxfexport
Note that this is not the actual code from the Fdxfexport file.
This code is just an example to show you how to add a similar control to your own description.
Resource File Code (Fdxfexport.res)
LONG DXFEXPORTFILTER_MODE { DEFAULT DXFEXPORTFILTER_MODE_POLYLINE; CYCLE { DXFEXPORTFILTER_MODE_POLYLINE; DXFEXPORTFILTER_MODE_SOLID; DXFEXPORTFILTER_MODE_3DFACE; } }
Header File Code (Fdxfexport.h)
#ifndef FDXFEXPORT_H__ #define FDXFEXPORT_H__ enum { DXFEXPORTFILTER_MODE = 1000, //First ID should start at 1000 DXFEXPORTFILTER_MODE_POLYLINE = 1, DXFEXPORTFILTER_MODE_SOLID = 2, DXFEXPORTFILTER_MODE_3DFACE = 3, }; #endif // FDXFEXPORT_H__
String File Code (Fdxfexport.str)
// C4D-StringResource // Identifier Text STRINGTABLE { DXFEXPORTFILTER_MODE "ExportType"; DXFEXPORTFILTER_MODE_POLYLINE "Polyline"; DXFEXPORTFILTER_MODE_SOLID "Solid"; DXFEXPORTFILTER_MODE_3DFACE "3DFace"; }