---
title: "selectByParameter"
canonical: "https://help.vicon.com/space/ShogunPost120/1043040229/selectByParameter"
format: markdown
---
# Description

Selects nodes using the given parameter.

Parameters can be used on bones and constraints. The selectByParameter command selects the bones and constraints that use the given parameter.

## Functional area

Parameters

# Command syntax

## Syntax

|  |
| --- |
| `selectByParameter parameterName [-onMod string] [-a] [-r] [-solving]` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `parameterName` | string | Yes | The name of the required parameter |

### Flags

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `onMod` | 1 | string | — | Specifies the character that owns the parameter. |
| `a` | 0 | — | r | Adds to the current selection. |
| `r` | 0 | — | a | Removes from the current selection. |
| `solving` |  |  |  |  |

## Return value

void 

> Macro (scroll-pagebreak)

## Examples

```plaintext
// Select all the nodes that use the parameter named LowerLegLength
// on character Bob
selectByParameter "LowerLegLength" -onMod -Bob;
```

# Additional information

## Related commands

- [addParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039339)
- [getParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038545)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040022)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038861)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038565)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039453)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040434)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040326)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039022)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039749)