---
title: "selectProperty"
canonical: "https://help.vicon.com/space/ShogunPost121/1253738322/selectProperty"
format: markdown
---
# Description

Select the named properties. No arguments deselects all properties.

Use this command for flexible control over the which channels operations will apply to. You can choose to select individual channels (like TranslationX) or can all translation or rotation channels.

Note that the Graph view displays only the selected channels.

## Functional area

Selection

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `selectProperty "name1" "name2" ...[-a] [-r] [-t]` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `name` | string | no | Name(s) of properties to select |

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `a` | 0 | — | r | Add to currently selected properties |
| `r` | 0 | — | a | Remove from currently selected properties |
| `t` | 0 | — | — | Toggles the currently selected properties |

## Return value

void 

> Macro (scroll-pagebreak)

## Examples

```plaintext
// These commands select the 3 named markers, then a range
// within the playRange, then the X and Z Translation
// channels of the objects.
select LMWT LFWT LBWT;
selectRange 150 280;
selectProperty "TranslationX" "TranslationZ";
 
// Adds to selection all three Rotation channels 
selectProperty -a "RotationX" "RotationY" "RotationZ";
```

# Additional information

## Related commands

- [selectKeys](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737266)
- [selectRange](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736590)
- [setProperty](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736551)