/
setBoneLength

setBoneLength

Description

Sets the length of the primary selected BoneNode by adjusting the selected BoneNode's child (in the axis pointing down the bone).

Used often when fine-tuning the setup of a skeleton.

Functional area

Data manipulators

Command syntax

Syntax

setBoneLength length [-relative] [-adjustChildren]

Arguments

NameTypeRequiredComments
length

Constrains the children of the bone to their current location in world space.

Flags

NameFlag argumentsArgument typeExclusive toComments
relative0
adjustChildren0

Return value

void

Examples

//Demonstrate the setBoneLength command
//Create a default skeleton
select lfemur;
setBoneLength 1.2 -relative -adjustChildren ;

Additional information

Related commands