I'm trying to render a series of files like so:
for i in range(1,17) :
s = “shot_%d_v1.hipnc” % (i)
print “attemping to load ” + s
hou.hipFile.load(s)
mantra = hou.node(“/out/opengl1”)
mantra.render(verbose=True)
After it finishes the first file it crashes. I've run into a similar thing with hscript. Is this not possible?
Hscript example
for i = 1 to 16
mread shot_`$i`_v1.hipnc
render -V /out/opengl1
end
I found examples on the forum that suggested you could do:
mread shot_1_v1.hipnc
render -V /out/opengl1
mread shot_2_v1.hipnc
render -V /out/opengl1
and so so on. Those also crash.