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

Graham Thompson captainhammy at gmail.com
Mon Sep 13 23:00:27 EDT 2010


Take a look at the opinfo command.  It gives you the same info that's
displayed when you MMB on a node.  You can parse the output looking
for the Error message and proceed accordingly.

On Mon, Sep 13, 2010 at 7:22 PM, Michael K. O'Brien <mobrien at pixar.com> wrote:
> Hola~
>
> 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.
>
> In Python, I can call hou.node().errors() and determine if it's a null string.
> How do I get the error status of a ROP in hscript?
>
> MO
>
> --
> Michael O'Brien                                                       FX Lead
> Pixar                                                       mobrien at pixar.com
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list