---
title: "renameParameter"
canonical: "https://help.vicon.com/space/Shogun16/13340278/renameParameter"
format: markdown
---
# Description

Renames a parameter. The parameter to be renamed will be looked for on the selected character unless the `-onMod` option is used.

## Functional area

Parameters

# Command syntax

## Syntax

|  |
| --- |
| `renameParameter parameterName newName [-onMod string] [-solving]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `parameterName` | String | Yes | The name of the parameter to be renamed. |
| `newName` | String | Yes | The new name of the parameter. |

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `onMod` | 1 | string | — | Defines the character with parameter to rename. |
| `solving` |  |  |  |  |

## Return value

void

## Examples

```plaintext
// Rename the parameter UpperArmLength to LowerArmLength. 
renameParameter "UpperArmLength" "LowerArmLength";
```

# Additional information

## Related commands

- [addParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13340720)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341553)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341443)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341296)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13341290)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun16/pages/13340221)