At the bottom of the Preferences dialog window is the Open Preferences Folder… button. Program preferences and all other user-specific data (libraries, etc.) are saved to a Cinema 4D folder named according to the version number in a location defined by your operating system (not in a Cinema 4D program directory as in previous versions). This location will be opened in your Explorer/Finder window when you click on the Open Preferences Folder… button.
You do not need a seperate Python installation. Python is implemented in Cinema 4D and runs out of the box.
If you want to run Python in the verbose or debug mode, please create an empty text file in the user folder of Cinema 4D:
c4d_py_debug.txt Run Python in debug mode. c4d_py_verbose.txt Run Python in verbose mode.
Like the debug- or verbose mode, create an empty text file in {USER_FOLDER}/prefs/python/
python_3kwarning.txt Warnings for Python 3000(aka 3k)
When you ship your plugin with a 3rd party module, make sure the user copies the 3rd party module to {USER_FOLDER}/library/python/packages/{osx/win32/win64} .
In some cases it might be necessary that you need to execute Python code on startup of Cinema 4D before any other Python stuff is loaded. In this case, go to the user folder of Cinema 4D and create a file in the python prefs {USER_FOLDER}/prefs/python/ .
python_init.py Autostart Python Code.
You can also handle low-level stuff here, but just do this if you really know what you do.
If this exception is written to the Python console, the structure of your plugin seems to be corrupt. You need to have a special structure, like a res folder, a file called c4d_symbols.h , etc. even if they are empty or do not contain anything useful. Please check out the plugins examples or Directory Structure for further information.
Enter search terms or a module, class or function name.