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

Joe Barrow joe at primalpictures.com
Mon Jan 9 12:40:32 EST 2006


Hi Rick

I take it you mean 

if(show_node1 == 1, opset -d on `oppwf()`/node1, opset -d on `oppwf()`/node2) 

jb

-----Original Message-----
From: Rick Walia [mailto:rickw at the-mill.com]
Sent: 09 January 2006 17:33
To: sidefx-houdini-list at sidefx.com
Subject: Re: [Sidefx-houdini-list] Problems with toggle in otl


Correction on the expression:
if(show_node1, opset -d on `oppwf()`/node1, opset -d on `oppwf()`/node2)

Thanks!


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,
> 



-- 

Rick Walia

The Mill NY



_______________________________________________
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com
https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

______________________________________________________________________
This email has been scanned for Primal Pictures by the MessageLabs Email Security System.
______________________________________________________________________

______________________________________________________________________
This email has been scanned for Primal Pictures by the MessageLabs Email Security System.
______________________________________________________________________



More information about the Sidefx-houdini-list mailing list