Rename and Group Valuebase Nodes

General questions and answers about using Synfig. We encourage you to document your findings in the FAQ and Tips pages on the website.
Gyromancer
Posts: 5
Joined: Tue Jan 02, 2018 10:39 pm

Rename and Group Valuebase Nodes

Postby Gyromancer » Sat May 12, 2018 9:04 pm

I was looking through the forums and I didn't find anything addressing a way to mass rename valuebase nodes. Not necessarily the entire valuebase name (although this would work too), but different sections of them (like a find and replace feature like in word processors). I have to rename a lot of valuebase nodes for my projects so if I could do this, that would be great. Also, was there any confirmation that you would be able to group valuebase nodes like Dave Hingley asked for in viewtopic.php?f=12&t=5060&p=22460&hilit=valuebase+nodes#p22460 ?

Advertisement

User avatar
Svarov
Posts: 189
Joined: Sat Aug 09, 2014 12:38 pm
Location: Russia, Moscow
Contact:

Re: Rename and Group Valuebase Nodes

Postby Svarov » Sun May 13, 2018 2:35 am

Well, both features you're talking about aren't implemented in Synfig.
So your best bet is to open a feature request on github: https://github.com/synfig/synfig/issues
Currently there's a lot of bug fixing going on, so I don't think your request will be in a high priority.

Although, there's an alternative way to "mass rename valuebase nodes".
If you aren't afraid of experiments:
1. Make a backup of your work.
2. In Synfig, save your project as .sif (uncompressed format).
3. Open it in XML editor.
4. All of exported values will be In a 'defs' structure. After 'defs' will be 'canvas' and all the layers where those exported values are connected to.
5. So from here you can try to use a standard 'Find and replace' feature.
6. After replacing, save your file and try to open it in Synfig.
My animations
Now working on: Wolf's head turn (test 7)

Gyromancer
Posts: 5
Joined: Tue Jan 02, 2018 10:39 pm

Re: Rename and Group Valuebase Nodes

Postby Gyromancer » Sun May 13, 2018 11:28 am

Awesome! Thank you for your help. You have saved me hours of work. I will request the features on github so others may be able to do so easily.


Return to “Synfig related help”

Who is online

Users browsing this forum: No registered users and 1 guest