---
title: "selectByParameter"
canonical: "https://help.vicon.com/space/Shogun113/84225328/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/Shogun113/pages/84214282)
- [getParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84222901)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84219793)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84214405)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84219425)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84214849)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84224543)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84226385)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84219447)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun113/pages/84215563)