There are three different ways to use Python with Instant Terra Pro, which correspond to three different uses:

  • Custom Python nodes: We create a new node to execute a Python script inside Instant Terra Pro. This node can be instantiated as many times as desired and exported to a .terralib file as a component.
  • Python callbacks: Instant Terra Pro can call Python code before opening or saving a project, and when importing or exporting data. We can, for example, use this system to interface Instant Terra Pro with a control software version.
  • The Python API: The Python code sends commands to Instant Terra Pro. The script is outside of Instant Terra Pro and is used to control it.

Instant Terra Pro offers a wide choice of Python uses: it is at the users discretion to define what is the best use for their needs.