Add3DChain (X3DObject)
Description
Adds a 3D chain and parents the new chain under this object. A 3D chain has joint properties that can rotate on any axis.
Scripting Syntax
X3DObject.Add3DChain( [RootPos], [EffectorPos], [ChainNormalPlane], [Name] )
C# Syntax
ChainRoot X3DObject.Add3DChain( Object in_rootPos, Object in_effPos, Object in_normalPlane, String in_bstrName );Parameters
|
Parameter |
Type |
Description |
|
RootPos |
The root position of the new chain, in global coordinates. Default Value: (0,0,0) |
|
|
EffectorPos |
The effector position of the new chain, in global coordinates. Default Value: (1,0,0) |
|
|
ChainNormalPlane |
The chain's normal to the plane, in global coordinates. Default Value: (0,0,1) |
|
|
Name |
name of new chain |
Return Value
Examples
VBScript Example
NewScene , false set oRoot = Application.ActiveProject.ActiveScene.Root set oChain = oRoot.Add3DChain oRootPos = Array(0,10,0) oEffPos = Array(10,10,0) set oChain = oRoot.Add3DChain( oRootPos, oEffPos )
See Also
Autodesk Softimage v7.5