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

Selects by distance.

## Functional area

Selection

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `selectByDistance maxDeviation maxDistance maxMarkers[-related] [-selectedRanges] [-clearSelectionFirst]` |

### Arguments

See above syntax.

### Flags

See above syntax.

## Return value

void

# Additional information

## Related commands

- [autoFillGaps](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738682)
- [findGap](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736657)
- [selectByName](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739192)
- [selectByPart](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736482)
- [selectByRigidity](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738300)
- [selectBySide](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738001)
- [selectMarkersForRigidFill](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737262)