---
title: "selectByParameter"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738593/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

> Macro (scroll-tablelayout)

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

### Arguments

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

### Flags

> Macro (scroll-tablelayout)

| 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/ShogunPost121/pages/1253736903)
- [getParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737086)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737369)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738347)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738291)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738025)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739919)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736542)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739810)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737311)