Houdini Deadline ROP not inheriting Environment Variables

Hi,
Turns out, we were using cmd to get the env variables. So these are not actually saved in the hip file.
We can see the env variables saved in Edit->Aliases and Variables

I was looking at Help → About Houdini …

So to save these variables, I could set the env variables using, let’s say (maybe in 456 script or Deadline ROP when submitting?)

for var in os.environ:
    hou.hscript("setenv -s %s=%s"%(var, os.environ[var]))

Then, it shows up in Edit → Aliases and Variables…
And sending it to farm works.

Thanks

1 Like