Scripting

In addition to visual programming systems such as Workflows and Modifiers, Grid Studio also supports Python scripting for implementing custom logic and advanced integrations.

Python scripts allow users to extend the functionality of a project by writing code that can process data, control system behavior, or interact with external systems.

Scripts can access objects, parameters, entities, and other system components, making it possible to build highly customized solutions when visual tools are not sufficient.


Purpose of Scripting

Python scripting is typically used in scenarios where more advanced logic or custom behavior is required.

Common use cases include:

  • implementing custom processing logic

  • integrating external systems or services

  • manipulating data structures programmatically

  • extending workflows with custom functionality

Scripting provides a flexible way to implement behavior that would otherwise be difficult or complex to achieve using visual systems alone.


Python in Grid Studio

Grid Studio uses Python as its scripting language.

Python scripts can interact with different parts of the system and access project data, allowing users to create custom functionality and integrations.

Depending on the context, scripts can run in different parts of the system.

Examples include:

  • Global Scripts, which run at the project level

  • Script Nodes, which allow custom logic inside node-based systems

  • Script Actions, which execute code as part of workflow actions

  • Script Filters, which process values within data flows

These scripting features allow Python code to interact with multiple systems within Grid Studio.


Scripting and Visual Programming

Grid Studio combines multiple approaches to building system logic:

System
Purpose

Workflow

Event-driven logic and automation

Modifier

Real-time data processing

Python Scripting

Custom code-based logic

These systems can be combined to build flexible and scalable control systems.


Learn More

Detailed information about writing and using Python scripts can be found in the Scripting section.

Last updated