XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : Record name of object to relink when remerged

04-05-2008, 06:16 AM
Hey gang

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

select $*_link1_*
LinkC1 = $
select linkC1.parent
LinkP1 = $

(Then here would be my script deleting and remerging the character)

select LinkC1
$.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



CGTalk Moderation
04-05-2008, 06:16 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.