[Sidefx-houdini-list] Detecting a SOP cook error

Olex P hoknamahn at gmail.com
Tue Sep 14 04:27:05 EDT 2010


This wouldn't work if GDP is empty which isn't an error ;)

2010/9/14 Pablo Giménez Pizarro <pablogipi at gmail.com>

> For many errors you just need to check if your incoming geo from the
> previous node has points using
> npoints("../"+opinput(".",0)) == 0
>
> Enviado desde mi iPhone
>
> El 10 Sep 2010, a las 14:59, "Andy Nicholas" <andy at andynicholas.com>
> escribió:
>
> > Bingo! So that's where I'd read it before.
> >
> > Thanks a lot for digging that out John.
> >
> > Cheers,
> > Andy
> >
> >> This is from Craig Zerouni's book
> >>
> >>
> http://books.google.com/books?id=1QmTeC9sAxsC&pg=PA38&dq=zerouni+sop+error+switch&hl=en&ei=mjaKTNyRKoT78AavsMHvCQ&sa=X&oi=book_result&ct=result&resnum=1&ved=0CCsQ6AEwAA#v=onepage&q&f=false
> >>
> >> I'm sure this can be done w python too...
> >>
> >>
> >> On Fri, Sep 10, 2010 at 9:26 AM, Andy Nicholas
> >> <andy at andynicholas.com>wrote:
> >>
> >>> Hi guys,
> >>> I seem to remember there was a way of detecting a cook error in a SOP
> >>> using an expression so that you can use a Switch to change the
> >>> evaluation
> >>> to another branch? Can anyone remember what the expression is? I
> >>> couldn't
> >>> track it down.
> >>>
> >>> Thanks
> >>>
> >>> Andy
> >>>
> >>>
> >>> _______________________________________________
> >>> Sidefx-houdini-list mailing list
> >>> Sidefx-houdini-list at sidefx.com
> >>> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >>>
> >>
> >
> >
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> _______________________________________________
> 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