2011

Table Of Contents
Python Scripting
Topics in this chapter:
About Python Scripting on page 867
About Python Scripting
Scripting in Composite is implemented by extending the Python language
(http://www.python.org). Composite is written in the C++ programming language,
so some libraries, known as Python extension modules, allow for a script to
invoke the Composite code through Python functions. The result is the
Composite Python API.
NOTE The Composite Python API documentation can be accessed through the
Help, via the Scripting menu (the HTML files are located in the
documentation/scripting directory of the Composite installation).
With Python and the Composite Python API installed, you can write scripts to
automatically perform certain repetitive managerial tasks and creative work on
a project, such as creating compositions, adding nodes to it, importing material,
versioning, rendering, and so on.
Composite ships with a number of sample scripts for performing common tasks.
These sample scripts are located in the
C
867