group all primitive with same att value, extrude in a for each

   844   2   0
User Avatar
Member
1004 posts
Joined: April 2017
Offline
Hi,

I'm trying to make mountain cliffs and having some sediments effect by extruding each levels by a different amount. I was able to make a primitive @myLevels where each section has a value from 0 to 1.

I would like to pass this in a for each loop. When I set the “for each end” Piece Attribute to “myLevels”, it's not using my levels but rather, each connected geo instead.

Attachments:
hill_rocks9.hip (163.7 KB)
Mountain_levels_forEach_extrude.JPG (292.4 KB)

User Avatar
Member
26 posts
Joined: May 2018
Offline
You can't use a float attribute for pieces, it has to be an int or a string. http://www.sidefx.com/docs/houdini/nodes/sop/block_end.html [www.sidefx.com]
User Avatar
Member
1004 posts
Joined: April 2017
Offline
ah nice!

thanks Tristannn.

-Olivier
  • Quick Links