switch in wrangle?

   6694   2   0
User Avatar
Member
102 posts
Joined: March 2013
Offline
Hi friends,

It's possible write a switch in wrangle? I mean write a code in VEX. Not switch sop or vop.
I can't found anything about switch in document.
If can, May I ask where I can find the information?

Well… maybe that will not be a big problem. But I would like use switch than if if if more.
Thanks!
User Avatar
Member
2627 posts
Joined: June 2008
Offline
A switch is just an IF/ELSE statement at the VEX level so sure, you can implement a switch and even route the condition to an external toggle channel you add to the interface.

http://www.sidefx.com/docs/houdini15.0/vex/lang [sidefx.com]
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
102 posts
Joined: March 2013
Offline
Thanks for answer : )
  • Quick Links