---
title: "setParameterPrior"
canonical: "https://help.vicon.com/space/Shogun114/196380844/setParameterPrior"
format: markdown
---
# Description

Sets the prior value of a parameter of the given name.

## Functional area

Parameters

# Command syntax

## Syntax

|  |
| --- |
| `setParameterPrior parameterName prior [-onMod string] [-solving]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `parameterName` | String | Yes | Defines the name of the parameter. |
| `prior` |  |  |  |

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `onMod` | 1 | string | — | May be used 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