[Sidefx-houdini-list] status of a ROP via hscript
vincent at imageworks.com
Tue Sep 14 13:45:22 EDT 2010
Here's another option that returns 1 if found:
set node = `oppwf()`
set info = `execute("opinfo $node")`
set error = `strmatch("*Error*", $info)`
...though $status is the simplest as Edward suggested.
> On 9/13/2010 10:22 PM, Michael K. O'Brien wrote:
>> I'm sure I'm just being dense here. I have a *.cmd file that needs to render a
>> bunch of frames in a for loop. I would like to determine if the ROP I rendered
>> has errored out so I can set the return status of hbatch via quit.
> Check $status after running the "render" command. You also propagate
> your status codes by supplying with the "exit" command.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list