tk421storm
June 3, 2013 12:39:19
Hey all -
I can't seem to find anything in the documentation about reference copies. Basically, I want to make a reference copy with absolute paths instead of relative ones. Does anyone know how I would go about doing this? Or where I could modify the script to accomplish this? Thanks.
-Mike
circusmonkey
June 3, 2013 13:04:40
If this is for an asset you should look at using opfullpath()
Rob
Solitude
June 3, 2013 13:45:24
http://www.houdinitoolbox.com/houdini.php?asset=15 [
houdinitoolbox.com] There are some good code snippets in here that will work for what you need… specifically the linkParmsTo function should work.
tk421storm
June 3, 2013 16:38:44
Ooh that's an awesome resource! That was pretty much exactly what I was looking for.
Now, do you know how I could add that script to the context menu, like reference copy? Or could I only add it to the toolbar?
Solitude
June 3, 2013 17:03:46
I've never done it before, but I think it lives in $HFS/houdini/OPmenu you'll need to use hscript function to call python I suppose. Hopefully somebody else can elaborate.
tony_a
June 27, 2013 04:49:23
Pawel_Grzelak
Oct. 28, 2019 09:07:51
Solitude
http://www.houdinitoolbox.com/houdini.php?asset=15 [www.houdinitoolbox.com] There are some good code snippets in here that will work for what you need… specifically the linkParmsTo function should work.
Hello. This link doesn't lead to
linkParmTo script anymore. Is there a more recent source or fix to this available somewhere?
graham
Oct. 28, 2019 10:43:21