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

Assumes all selected nodes are intended to be rigidly connected; selects any keys on those nodes that stray outside the given rigidity tolerance.

The findNonRigid command is useful for screening out the effects that an errant object motion within a group assumed to be rigid will have on a rigid body applied to those objects.

As a result of digital noise, occlusions, or marker collisions objects that ought to be rigid sometimes display non-rigid behavior; findNonRigid allows you to identify such keys with a tolerance value expressed in millimeters. After identification, you can choose to process or ignore any keys that are found to be non-rigid.

## Functional area

Data retrieval

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `findNonRigid tolerance[-ranges]` |

### Arguments

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `tolerance` |  |  | Float value of the distance tolerance, expressed in millimeters |

### Flags

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `ranges` | 0 | — | — | Operates only in selected time ranges. |

> Macro (scroll-pagebreak)

## Return value

integer

## Examples

```plaintext
select LANK LHEL LMT1 LMT5;
findNonRigid 20; 
// Executing these commands will have the effect of selecting all keys
// within the specified left foot markers that are more than 20
// millimeters distant from their rigid location. 
// The rigid location for each marker at each frame is that location
// defined by the provisional application of the rigid body.
```

# Additional information

## Related commands

- [makeRigid](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737584)
- [rigidBody](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737883)