When I define a Human IK skeleton to a pre existing skeleton it messes up a bone

Hey guys, I am defining a skeleton in maya on a existing skeleton by loading in the .xml file, I am running into a problem when it comes to the spine, I seems to be dropping and assigning the wrong node to a bone:


        <item key="Spine1" value="Torso"/>
        <item key="Spine2" value="Upper_Torso"/>
        <item key="Spine3" value="Spine4_joint"/>

But when it loads into the scene this is what I get:

Can anyone explain why “Spine1” node is being refrenced to the “Upper_Torso” bone?

[QUOTE=i73;31250]Hey guys, I am defining a skeleton in maya on a existing skeleton by loading in the .xml file, I am running into a problem when it comes to the spine, I seems to be dropping and assigning the wrong node to a bone:


        <item key="Spine1" value="Torso"/>
        <item key="Spine2" value="Upper_Torso"/>
        <item key="Spine3" value="Spine4_joint"/>

But when it loads into the scene this is what I get:

Can anyone explain why “Spine1” is being refrenced to the “Upper_Torso”?[/QUOTE]

Follow up question: Do you know how I can set a Bone in the HumanIKnode with python or mel? The Maya output when I do it manually is: setCharacterObject(“R_Thumb2”,“Character2”,24, 0); but this does nothing when I try and call it.