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

David Johnson daveinengland at gmail.com
Wed Sep 15 01:44:31 EDT 2010


I love it when I get to the end of a day, thinking that they day is
over and then finding that one more thing I learned and didn't expect
to. Thanks, Edward.

On Tuesday, September 14, 2010, Michael K. O'Brien <mobrien at pixar.com> wrote:
> Hola~
>
> Great. This works perfectly. You have to be squirrel away $status into another
> variable because any hscript method (like if ($status == 0) ...) will reset
> status.
>
> Thanks for the help.
>
> MO
>
>>-- 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
> _______________________________________________
> 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