Changes introduced with Cinema 4D R21 make it necessary to recompile C++ plugins.
The MSVC settings of the R21 SDK enable support for Advanced Vector Extensions (AVX) by default. Clients, that do not support this instruction set, cannot load the created plugin binaries.
The AVX settings are defined in the frameworks\settings\Base.props file. To disable AVX support, simply remove the line
On macOS, it is advised to enable the legacy build system when using Xcode 10.1+. The legacy build system is enabled under “File” / “Project Settings” / “Section Shared Project Settings/Build System” / “Legacy Build System”.
The new major version R21 of Cinema 4D has been officially released and is now available for download. Everyone can now create accounts on the new MyMaxon portal (my.maxon.net) and download the latest version of Cinema 4D.
The most significant changes are:
- Only one version of Cinema 4D exist.
- Existing C++ plugins must be adapted and re-compiled for R21.
- Building C++ plugins requires Visual Studio 2017 or Xcode 10.
- A new licensing system replaces the old, serial number based system. The SNHookClass plugin type has been removed.
Documentation and Downloads
- Browse C++ SDK Documentation Online
- List of C++ API changes
- Download HTML format
- Download Windows HTML help format
- The latest Project Tool can be found on Downloads page
The c4dpy executable is now part of the Cinema 4D installation.
Examples on GitHub
The examples on GitHub have been updated.
The Basic License Workflow examples show how to utilize the new licensing API (blw_pluginlicensedialog and blw_simplegenerator).
The Python examples have been reworked and extended. The new examples can be found on https://github.com/PluginCafe/cinema4d_py_sdk_extended.
the project tool for the Linux CLR Client R20 C++ SDK is available as single archive in the downloads section.
MAXON’s SDK Team
MAXON released service pack 2 hot-fix 1 (SP2 HF1, version 20.059) for Cinema 4D R20.
In parallel, we updated the SDK documentation for C++ and Python.
MAXON released service pack 2 (SP2, version 20.057) for Cinema 4D R20. For details on bugfixes and changes see the announcement on our homepage.
In parallel we updated the SDK documentation for C++ and Python.
first time around?
Pick the right API for the right job
The very first thing you will need to do is choose which API will suit your needs.
Cinema 4D has… three APIs, the first two may be used to add functionality and are part of the product’s distribution:
The C++ SDK is what is used internally by the development team to write all our product’s functionalities. It is robust reliable and the obvious choice for commercial plugins. The C++ SDK offers the most extended capabilities of all APIs. Yet, if you are new in software development the learning curve may be a bit too steep. Then you probably want to have a look at the scripting languages.
Python is a scripting languages. It is a good choice for TDs, easier, more flexible to use than the C++ API, but the feature set exposed is a bit less extended. In general Python provides the means for very rapid development. On the other hand your sources are harder to protect in Python, your algorithms are easily exposed to all for reading.
Mélange is a bit different, as it provides means to exchange data with the “outside world”. It can be downloaded on this site.
All APIs have their own documentation which can be downloaded from this website. That documentation contains two things: articles explaining concepts and a functional documentation of the header files. The later is generated directly from our sources and is written by our development team. We publish relevant articles on our plugin development blog. These articles eventually find their way into the API documentation.
The first place to look is on your chosen API’s page. We will explain how to setup your development environment and get results fast.
We all need help once in a while. For this we have the Plugin Café forum where all are invited to ask questions and provide answers. Our support engineers will do their best to provide a solution to your problem.