---
title: "setStaticParameterExpression"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736752/setStaticParameterExpression"
format: markdown
---
# Description

Sets the expression of a static parameter of the given name.

## Functional area

Parameters

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `setStaticParameterExpression parameterName parameterValueOrExpression [-onMod string] [-solving]` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `parameterName` | string | yes | Specifies the name of the parameter added |
| `parameterValueOrExpression` |  |  |  |

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `onMod` |  | string | — | Use to specify the character on which the parameter exists. Without this option, the selected character is used. |
| `solving` |  |  |  | Specifies if the parameter exists on the solving setup instead of the labeling setup |

## Return value

void