If an asset is being used multiple times in the stage manager, is there a better way of updating that reference without manually updating every path 1 by 1?
Thanks all
Updating references in Stage Manager
1413 2 0- danwnewlands
- Member
- 41 posts
- Joined: Dec. 2017
- Offline
- Kym Watts
- Member
- 37 posts
- Joined: Sept. 2014
- Offline
You could do this with opchange from a textport.
This should check all the string parms on all the nodes in the graph and do a search and replace.
You can also provide -p with the path to a specific node, if you have other places you want to keep the original path.
Docs:
https://www.sidefx.com/docs/houdini/commands/opchange.html [www.sidefx.com]
Hope this helps.
Kym
opchange -p /stage <current path> <new path>
This should check all the string parms on all the nodes in the graph and do a search and replace.
You can also provide -p with the path to a specific node, if you have other places you want to keep the original path.
Docs:
https://www.sidefx.com/docs/houdini/commands/opchange.html [www.sidefx.com]
Hope this helps.
Kym
- danwnewlands
- Member
- 41 posts
- Joined: Dec. 2017
- Offline
Kym Watts
You could do this with opchange from a textport.opchange -p /stage <current path> <new path>
This should check all the string parms on all the nodes in the graph and do a search and replace.
You can also provide -p with the path to a specific node, if you have other places you want to keep the original path.
Docs:
https://www.sidefx.com/docs/houdini/commands/opchange.html [www.sidefx.com]
Hope this helps.
Kym
Thanks Kym, I'm surprised there isn't functionality to do this in the stage manager itself.
We can make a tool to update that though, so thanks for pointing in the right direction!
-
- Quick Links