I have a script for remerging a character in order up date it. However anything that is linked to the rig loses its link information once the new object in remerged into the scene.
So i though Id write some script to store the link info of the linking and relink the object once the new rig was merged into the scene.
To start with i though id base the relinking of the naming of the object. So in the name of the linked object i put _link1_
So doing that i did
LinkC1 = $
LinkP1 = $
(Then here would be my script deleting and remerging the character)
$.parent = LinkP1
Unfortunately once the object that is LinkP1 is deleted from the scene to make way for the remerge rig the LinkP1 object becomes a deletenode.
So any advice or idea would be apreciated. I can store the name of object but it stores it as "object name" with the quotation marks and to relink I need to have $.parent = $objectname