Custom Plug-ins and Scripts

You can use C++ and Python to add custom operations and file formats.

C++ is available on both Windows and Mac. Currently Python is available only on Windows.

You can do the following:
  • Use C++ or Python to write a plug-in to create modeling tools with parameters that can be modified interactively.
  • Use Python to write automated scripts, primarily one-time commands that require little to no user input. You can access the entire internal API, including PolyNURBS and NURBS surfaces and solids, with powerful functions such as Booleans, Sweep, Loft, Intersection, Trim, and basic NURBS editing.
  • Use the Python console to quickly and interactively write an operation. To open the console, press F4 or select View > Python Window.

Plug-in Development Kit

To access the Plug-in Development Kit, go to C:\Program Files\Altair\2020\InspireStudio2020\Evolve\PDK.

Saving Plug-ins

You need to save your plug-ins to C:\Users\<username>\Documents\Altair\2020\InspireStudio2020\Plugins\.

Sample Python Scripts

Sample Python scripts are included in C:\Program Files\Altair\2020\InspireStudio2020\Evolve\PDK\examples-python\.

Saving Python Scripts

You need to save your Python scripts to C:\Users\<username>\Documents\Altair\2020\InspireStudio2020\Scripts\. Once saved to this location, you can easily access the scripts by right-clicking in the modeling window and selecting User scripts > Manage scripts from the contextual menu.

Inspire Studio PDK Documentation

For more details, see the Inspire Studio PDK documentation:
  1. Go to C:\Program Files\Altair\2020\InspireStudio2020\Evolve\PDK\doc.
  2. Double-click the index file.