Archive for the ‘Cinema 4D Scripting’ Category

P4D102 – Act on your Selected Objects

Now that we have had a short glimpse on the basics in the first article lets move on to do something meaningful. So far it has been a purely academic discourse.

Usually, we want a script to do something with the objects we have in a scene. So the first step is to look at how we can access the scene file and go through selected objects and perform Cinema 4D commands on them.
Read more →

P4D101 – Getting started with Python in Cinema 4D

The Python integration into Cinema 4D is quite thorough. There are several places where you can use Python to script and Python is integrated as a first class citizen with the same level of access like Cinema 4D’s internal scripting language COFFEE as well as the C++ API.

There are different places in which you can use Python:

  • as Python Script
  • as Python Generator
  • as Python Tag
  • as Python Xpresso Node
  • as Python Plugin

As you can see, there are plenty of options to use Python in Cinema 4D. For a start let us focus on using a Python script – ignoring the other possibilities for now.

Read more →