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

Outputs a Shogun Post script that creates sides and parts for the current subject.

The output script can be written to a file, or written to the **Script Editor**, where it can be modified as required for use in other rigs.

## Functional area

Skeletal Solving

# Command syntax

## Syntax

|  |
| --- |
| `createSidesAndPartsScript [-file string] [-interface] [-dofs]
        ` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| **Name** | **Flag arguments** | **Argument type** | **Comments** |
| --- | --- | --- | --- |
| `file` | 1 | string | Writes the script to the given file path. |
| `interface` | 0 | — | Writes the created script in the **Script Editor** panel. |
| dofs |  |  | Includes the degrees of freedom for each bone in the target skeleton in the script |

## Return value

void 

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [autoCreateRetargetingConstraints](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13219993)
- [autoSetSideAndParts](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13207652)