vex to vops - continue function

   1961   2   1
User Avatar
Member
9 posts
Joined: Jan. 2014
Offline
Hello everyone.

I've been spending quite a bit of time lately trying to wrap my head around vex and vops. For the most part I'm creating simple tests in an attribute wrangle node, which I then attempt to recreate in an attribute vop node. Unfortunately, i'm quickly finding out that translating vex to vops isn't always easy. One vex function that I can't seem to easily recreate in vops is “continue;” Is there an alternate method in vops for telling a loop to move to the next iteration if a certain condition is met?

Thank you
User Avatar
Member
2528 posts
Joined: June 2008
Offline
You can always construct what you need in VOPs then simply view as code to see the vex result.

From the Right-Click Menu choose: VEX/VOP Options/View VEX Code
Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
280 posts
Joined: Dec. 2015
Offline
@Enivob: He seems to have the opposite problem. He wants to translate a VEX code he made to VOP. The way you would go about it in vops is with an if condition within a for loop. But, if you are confortable with VEX that will be an example which probably is quicker created in a wrangle than in VOPS. I understand the feeling to want to learn both though
https://www.imdb.com/name/nm8408875/ [www.imdb.com]
  • Quick Links