Joint

Object Hierarchy | Related C++ Class: Joint

Inheritance

SIObject

ProjectItem

Property

Joint

Description

The Joint object represents a Kinematic Joint property on a ChainBone or ChainEffector object.

Methods

AddCustomOp AddScriptedOp AddScriptedOpFromFile AnimatedParameters2
BelongsTo operator EvaluateAt GetICEAttributeFromName IsA
IsAnimated2 IsClassOf operator IsEqualTo operator IsKindOf
IsLocked operator IsSelected operator LockOwners SetAsSelected operator
SetCapabilityFlag operator SetLock TaggedParameters UnSetLock

Properties

Application Branch operator BranchFlag operator Capabilities operator
Categories EvaluationID Families operator FullName operator
Help HierarchicalEvaluationID ICEAttributes LockLevel operator
LockMasters operator LockType operator Model Name operator
NestedObjects ObjectID Origin OriginPath
Owners PPGLayout operator Parameters operator Parent
Parent3DObject PreferredAxisReference Selected operator Singleton operator
Type operator UpVectorReference    
       

Examples

VBScript Example

set oRoot = application.activeproject.activescene.root
set oNull1 = oRoot.AddNull("UpVectorReference")
set oNull2 = oRoot.AddNull("PreferredAxisReference")
oRootPos = array(0,10,0)
oEffPos = array(10,10,0)
oNormalAxis = array(1,1,1)
set oChainRoot = oRoot.Add3DChain( oRootPos, oEffPos, oNormalAxis )
set oJoint = oChainRoot.Bones(0).Joint
oJoint.parameters("resplane").value = siUpVector
set oJoint.UpVectorReference = oNull1
set oJoint.PreferredAxisReference = oNull2

See Also

ChainBone.Joint ChainEffector.Joint