[Sidefx-houdini-list] Problems with toggle in otl
rmagee at sidefx.com
Mon Jan 9 13:15:30 EST 2006
Objects have a display parameter that you can use instead of the display
flag. It is found in the Render tab on a geo object and the Subnet tab
of a subnetwork. Simply click on the checkbox to use this parameter in
place of the display flag then write a channel reference from here to
your asset's toggle.
I'm not sure if this is what you are looking for but this is what I
would do in this case.
Product Marketing Manager
Side Effects Software Inc.
Rick Walia wrote:
> Correction on the expression:
> if(show_node1, opset -d on `oppwf()`/node1, opset -d on `oppwf()`/node2)
> 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.
More information about the Sidefx-houdini-list