[Sidefx-houdini-list] soho.getDefaultedFloat() vs. hou.node().parm().eval()

Frederic Servant frederic.servant at gmail.com
Mon Nov 14 22:07:15 EST 2011


Hi Simon,

Well you've got the hou.node().parm().evalAt{Time,Frame}() variants, and
you still have to specify the evaluation time as a parameter of
soho.getDefaulted{Float,Int,String}(), so I don't really see a difference
here.
--
Fred

On Tue, Nov 15, 2011 at 02:50, Simon Bunker <simon at rendermania.com> wrote:

> One thing to bear in mind is that soho.getDefaulted{Float,Int,String}()
> will get evaulated at the correct time, whereas the hou equivilant won't.
>
> Simon
>
> On Tue, Nov 15, 2011 at 1:13 PM, Frederic Servant <
> frederic.servant at gmail.com> wrote:
>
> > Hi,
> >
> > I'm currently writing an translator with SOHO and I find myself using a
> > lot soho.getDefaulted{Float,Int.String}() but I sometime use the standard
> > hou.node().parm().eval() to get parameter values.
> >
> > Most of the time, when you're not querying some SOHO intrinsic parameter,
> > they seem to work just as well.
> >
> > Has anybody more insight on the rationale on which set to use, the
> specific
> > features of one way or the other and the implications performance-wise.
> >
> > Cheers,
> > --
> > Fred
> > _______________________________________________
> > 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