[Sidefx-houdini-list] status of a ROP via hscript

Michael K. O'Brien mobrien at pixar.com
Tue Sep 14 17:39:40 EDT 2010


Great. This works perfectly. You have to be squirrel away $status into another
variable because any hscript method (like if ($status == 0) ...) will reset

Thanks for the help.


>-- On Tue, Sep 14, 2010 at 01:32:28PM -0400, Edward Lam wrote:
> 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.
> Regards,
> -Edward
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

Michael O'Brien                                                       FX Lead
Pixar                                                       mobrien at pixar.com

Censorship is the mother of metaphor.
                            -Jorges Luis Borges

More information about the Sidefx-houdini-list mailing list