====== cdPython ======
See [[http://code.google.com/p/l3dtpython/]] for more information.
===== Plugin information ===
^ Author | [[user>carldt|Carl Douglas]] |
^ Description | Write scripts in Python and access the zeolite API from Python |
^ Menu option | '//Extensions->cdPython//' |
^ Download link | http://l3dtpython.googlecode.com/files/cdPython-0.10.zip |
^ Source code | http://code.google.com/p/l3dtpython/source |
^ Dependencies | [[http://www.python.org/|Python]] |
===== What does it do? =====
Provides a zeolite python module, and runs python scripts.
===== Using cdPython =====
Import the zeolite module in your Python code, e.g.
import zeolite
Create zeolite objects through the zeolite module, e.g.
str = zeolite.CzStr()
str.Create(None)
str.EditUI('Enter a filename')
To access the core ExtAPI object, you can reference it through the cvar attribute in the zeolite module:
hf = zeolite.cvar.theAPI.project_GetMap('HF')
-> //[[plugins:general:cdPython:examples|See more examples]]// >>
===== Changes =====
2007/03/05 02:25 --- Released.