[Sidefx-houdini-list] ability to toggle vis of a OBJ in an OTL

Ken Ouellette ken.ouellette at gmail.com
Wed Nov 5 08:48:00 EST 2008


cheers!

good to know my memory hasn't been slipping :)
-k

On Tue, Nov 4, 2008 at 11:37 PM, Michael O'Brien <mobrien at pixar.com> wrote:

> Hola~
>
> Yeah, that's exactly what I want. Thanks much.
>
> MO
>
> --
> Michael K O'Brien                               Production Engineering
> Pixar                                                mobrien at pixar.com
>
> REMY: What is that?
> EMILE: I don't really know.
> REMY: You don't know... and you're eating it.
> > -----Original Message-----
> > From: sidefx-houdini-list-bounces at sidefx.com [mailto:
> sidefx-houdini-list-
> > bounces at sidefx.com] On Behalf Of Graham Thompson
> > Sent: Tuesday, November 04, 2008 5:28 PM
> > To: sidefx-houdini-list at sidefx.com
> > Subject: Re: [Sidefx-houdini-list] ability to toggle vis of a OBJ in an
> > OTL
> >
> > Hey Mike,
> >
> > I think by obj networks you are referring to Geometry objects right?  At
> > least that's what I figure since you are referring to using
> > hou.Node.setDisplayFlag(togglevalue) since setting that to False on a
> > sop wouldn't do anything.  Couldn't you just enable the Display
> > parameter on the geo objects and link the value to your toggle?
> >
> > Michael K O'Brien wrote:
> > > Hola~
> > >
> > > I thought there was a thread on this recently, but I can't seem to find
> > it.
> > >
> > > I have an otl, and inside that otl I have several obj networks. I'd
> like
> > to
> > > toggle the visibility of the obj networks based on a parm on the otl.
> > >
> > > I created a toggle on the otl, and wrote a Python callback that calls
> > > node.setDisplayFlag() to the value of the toggle. When I'm editing the
> > otl,
> > > this works great. When I switch the otl to non-editing, the callback
> > fails
> > > because the node is read-only.
> > >
> > > Shy of a switch with a null, is there a way to have an otl toggle the
> > > display state of a child of that otl?
> > >
> > > MO
> > >
> > > --
> > > Michael K O'Brien
> > > mobrien at pixar.com
> > > Pixar
> > >
> > > HEDBERG: I played golf. I'm not good at golf. I never got a
> hole-in-one,
> > but
> > >          I did hit a guy. That's way more satisfying. You're supposed
> to
> > >          yell, "Fore," but I was too busy mumbling, "There ain't no way
> > >          that's going to hit him."
> > >
> > >
> > > _______________________________________________
> > > Sidefx-houdini-list mailing list
> > > Sidefx-houdini-list at sidefx.com
> > > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> > >
> >
> >
> > --
> > Graham Thompson
> > Technical Director
> > Side Effects Software Inc.
> > www.sidefx.com
> >
> > _______________________________________________
> > 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