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

> Macro (scroll-tablelayout)

|  |
| --- |
| `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/ShogunPost121/pages/1253737013)