cudarsjanis Posted May 13, 2019 Share Posted May 13, 2019 Hey guys, How can I change the path in mantra Output file from: P:/projectname/shotname/fx/work/houdini/hip to: V:/projectname/shotname/fx/geo can`t figure out how to run strreplace twice. this doesn`t work: `strreplace($HIP, P:, V:)` `strreplace($HIP, work/houdini/hip, geo)` $HIP is P:/projectname/shotname/fx/work/houdini/hip also + is to add to the path, how can i subtract from the path? Cheers Janis Quote Link to comment Share on other sites More sharing options...
cudarsjanis Posted May 14, 2019 Author Share Posted May 14, 2019 Got it. `strreplace(strreplace($HIP, work/houdini/hip, geo), P:, V:)` no backticks if you put expression function in to an expression function. Still don`t get it properly. When to use any of those 3: `' " ch('whatever') ch("whatever") works both in vex. Where could I find proper info about those guys (`' ")? Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.