[Sidefx-houdini-list] Problems with toggle in otl

Ben Schrijvers Ben.Schrijvers at framestore-cfc.com
Mon Jan 9 12:50:36 EST 2006

Hi Rick,

Maybe you should consider a Switch Sop.
I believe for changing display flags the HDA needs to be unlocked.
And unlocked HDA sort of distroy the beauty on HDA..

If you are dealing with Objects instead of Sop's you can just use the 
"display" parameter instead of the flag.


Rick Walia wrote:

> I'm having some troubles with toggle paramerters in otls.
> Basically I want to toggle the diplay between 2 different operators.
> If toggle is on, show node 1, if toggle is off show node 2.
> Well this is the way I would expect a toggle to behave, no?
> I have a toggle param called show_node1. The default value is 1.
> In the callback section of this toggle I have the following expression:
> if(show_curve, opset -d on `oppwf()`/node1, opset -d on `oppwf()`/node2)
> Currently the above does nothing? Any suggestions would be appreciated.
> Cheers,

More information about the Sidefx-houdini-list mailing list