H16 Temp Dir Change

   1871   0   0
User Avatar
Member
16 posts
Joined: March 2016
Offline
Hi All,

Not a question but just a heads up to other TD's:
I haven't seen this posted elsewhere and we ran into this issue at work so I just wanted to get this onto the web for posterity in case someone else runs into this in the future. In previous versions of Houdini, when you used opcopy or hou.copyNodesToClipboard, the nodes were saved in .cpio files in your /tmp/ directory. In Houdini 16 however, they are now saved in /tmp/houdini_temp.

Now, if you're writing your scripts correctly, this shouldn't be a problem because you can use hou.getenv($HOUDINI_TEMP_DIR) to get access to the correct path no matter which version you're using. But we had a couple of old scripts for sharing nodes across users that were using the hard-coded “/tmp” and it took me a minute to figure out why they were failing in Houdini 16.

Hopefully this saves someone else time in the future
  • Quick Links