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

Simon Bunker simon at rendermania.com
Mon Nov 14 21:50:53 EST 2011


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
>



More information about the Sidefx-houdini-list mailing list