---
title: "bakeLengths"
canonical: "https://help.vicon.com/space/Shogun111/13207662/bakeLengths"
format: markdown
---
# Description

Takes average position value of a node over all time, clears all the keys, and sets the constant value to that average.

Useful in finding out the average position of a node.

## Functional area

Data editing

# Command syntax

## Syntax

|  |
| --- |
| `bakeLengths` |

### Arguments

None

### Flags

None

## Return value

void

## Examples

```plaintext
//bakeLengths on all markers
selectByType Marker;
bakeLengths;
```

# Additional information

## Related commands

- [setBoneLength](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208404)