/
createSkelScript

createSkelScript

Description

Use createSkelScript to output a Shogun Post script that may later be used to reproduce the exact replica of a skeletal setup, VST, or VSK.

The command analyzes the bone indicated and all of its descendants. Passing the "root" joint will reproduce the entire skeleton, passing another of the skeleton's bones will reproduce a subset of the skeleton. All of the values of the attributes of the skeleton's bones will be retained.

The skeleton can either be created inside of Shogun Post or imported into Shogun Post from an external source. The functionality of this command can also be executed via the Subject Setup panel.

Use the -solver flag when you want to include marker association and solvers into the script.

Functional area

Skeletal solving

Command syntax

Syntax

createSkelScript " bonenode" [-file string] [-interface] [-solvers]

Arguments

NameTypeRequiredComments
boneNode

String name of a BoneNode in the scene, generally the root of a skeleton

Flags

NameFlag argumentsArgument typeExclusive toComments
file1stringWrites the script to the given file path.
interface0Puts the created script in the script editor window
solvers0Writes solver information into the script

Return value

void

Examples

// This command will create a script than can build an 
// exact replica of the skeleton in the scene. 
// This is one of the ways a solving setup can be transferred to
// other motion of the same actor.
createSkelScript -interface root;

Additional information

Related commands