CreateChainfromCurve
 
 
 

CreateChainfromCurve

Description

Creates chains from the specified curves.

Scripting Syntax

oReturn = CreateChainfromCurve( [InputObjs], [NbJoints], [UseCns] );

Return Value

Returns an XSICollection that contains the roots of the created chains.

Parameters

Parameter Type Description
InputObjs String List of curves on which to place chains

Default Value: Selected chains

NbJoints Integer Number of bones to create

Default Value: 5

UseCns Boolean True to constrain the chain to the curve (using Deform by Curve and Path constraints)

Default Value: False

Examples

VBScript Example

' Create chains with 10 joints on each selected curve
dim root, roots
set roots = CreateChainFromCurve( , 10)
for each root in roots
        ' do something for each chain
next