Welcome to ltapy’s documentation!

This site covers ltapy’s usage and API documentation.

ltapy is a Python interface to the API of the LightTools illumination design software. It provides an enhanced interface to the LightTools API, as well as extended functionality to simplify the programmatic access to LightTools.

Creating a connection and interacting with LightTools is simple:

>>> import ltapy.session
>>> ses = ltapy.session.Session(pid=4711)
>>> lt = ses.lt
>>> lt.Message("Successfully connected to LightTools!")

The above connects Python with a running LightTools session (identified by the given PID) and displays the message in the LightTools console window.

API documentation

If you are looking for information on a specific function, class or method, this part of the documentation is for you.

Indices and tables