Skip to documentation content

Import the installed SDK

Use `telion` for new scripts and retain `telion_api` only where compatibility is required.

Use telion when writing a new model-building or analysis script. Import Model to create a model object, then add the geometry, materials, physics and study needed for your calculation. Existing scripts using telion_api can keep that import while using the same supported objects.

The example below only creates an empty model; it does not build geometry, run a solver or connect to a running application. If the import fails, confirm that the Telion SDK is installed in the Python environment running your script.

import telion
from telion import Model

assert "Model" in telion.__all__
model = Model()
assert isinstance(model, Model)
Import the installed SDK — Telion Python API 0.1.0-alpha | Telion