Copying and reposing a rig ?(2.49)

Hi all,

Could somebody please be so kind to point me in the right direction on how one would go about copying a rig and re-posing a rig with a script ?

The thing is, I can copy objects, but the issue with armatures is that I can’t seem to find the actual armature inside of the object wrapper. Am I missing something here ?

I found that copying the entire rig means I need to re-parent the mesh and re-introduce the modifer to the mesh (or change it to use the right armature, the copied one), so I think I really need to be able to get a hold of the new armature and I have no clue on how to do that.

Then, getting hold of the bones and reposing them is something of a challenge, but that’s step two…

Any help is greatly appreciated.