Target Parameters

A Target Parameter does not store a simple numeric value. Instead, it stores a reference to another object or parameter within the project.

This allows systems in Grid Studio to connect and interact with each other by directly referencing other elements.

Target parameters are commonly used to link objects, parameters, or system components together.


Selecting a Target

When a parameter uses the Target control mode, the parameter field displays a Select an object button.

Clicking this button opens a selection interface that allows the user to choose the target object or parameter.

Once selected, the parameter stores a reference to that element.


Target Selection Menu

Pressing Select an object opens a selection menu.

This menu shows elements from the project that are compatible with the parameter.

The list is context-aware, meaning it filters entries based on the expected type.

For example, depending on the parameter configuration, the menu may show:

  • compatible objects

  • specific object types

  • parameters from other objects

The menu is organized using the Project Tree structure, making it easier to navigate larger projects.

In some cases, especially when selecting parameters, the list may contain many entries.


Interactive Target Selection

In addition to the menu, Grid Studio provides a faster method for selecting targets.

Instead of clicking and releasing the Select an object button, users can press and hold the button.

While holding the mouse button, the cursor can be moved across the interface to locate the desired element.

During this interaction it is possible to:

  • move through the Inspector

  • change the currently selected object

  • navigate through parameter lists

Once the desired parameter or object is highlighted, releasing the mouse button will assign it as the target.

This behavior works similarly to drag-and-drop, but the interaction is initiated from the target parameter.

This approach makes it much easier to link parameters in large projects without navigating long selection lists.


Drag and Drop Selection

Targets can also be assigned using drag and drop.

To do this, drag a compatible object or parameter and drop it onto the target parameter field.

If the dropped element is compatible, the parameter will automatically reference the dropped object or parameter.

This method provides a fast and intuitive way to create links between elements while working in the Inspector or other views.

Drag and drop is especially useful when the source parameter or object is already visible, as it avoids opening the target selection menu.


Working with Parameter Targets

When a parameter references another parameter, the value of the target parameter is used.

Any changes to the referenced parameter will automatically update the parameter that uses the target reference.

This allows parameters to be connected and synchronized across different objects.


Typical Use Cases

Target parameters are commonly used in situations where objects need to reference or interact with other elements.

Examples include:

  • referencing another object's parameter

  • linking systems together

  • selecting devices or system components

  • connecting control parameters across objects

Target parameters make it possible to create flexible relationships between objects without duplicating configuration values.

Last updated