-
Find and replace text within expressions?
Hi everyone, hoping someone could point me in the right direction. I have been searching for a while now and can’t seem to crack it.
Basically this is what I am trying to achieve. I have a character rig set up in comp A. Comp A is inside Comp B which has a bunch of controllers that can be animated in Comp B without going back into Comp A all the time (Comp B is where all the elements of the character come together basically). This is working well. My problem is when I copy all elements out of Comp B and paste into a new scene ( we will be placing many of these character rigs into different scenes) all of the expressions that Comp A was referencing in Comp B are now broken. It will be too time consuming to go through and change the code in Comp A to reflect the name of the new comp. I have been looking around for a script that will search and replace text inside an expression but I only found this…
It looks like a nice little script, although it can search and find the code I need to change, it can’t go ahead and automatically replace the text I need.
I am not too sure of another way of referencing an expression from a nested comp and make it update automatically when you paste it into a new comp. Any ideas?
Thanks
Brad