'The following example uses SelectChain to branch-select the root of the chain that owns the currently selected bone.
NewScene
Create2DSkeleton -4.24271844660194, -1.68031960708853, 0, -2.14563106796117, 2.67102827716385, 0, 0, 0, 0, 4
AppendBone "eff", -0.825242718446603, -1.97170451005186, 0
AppendBone "eff", 1.81553398058252, 2.74873091795407, 0
AppendBone "eff", 3.3495145631068, -1.79687356827387, 0
SelectObj "bone1", , True
SelectChain
logMessage "The whole chain (ie: root) should now be selected in branch"
|