Creating groups based on point attributes troubles

   25789   3   1
User Avatar
Member
10 posts
Joined: Sept. 2016
Offline
Hello!
I'm just started in learning Houdini and have some troubles. I looked for solution in docs and forums -no result. So hope for your help.
The problem is in difference between GROUP in Houdini 15 and Houdini 16.
There was no problem to make groups based on attributes in Houdini 15, but in Houdini 16 there no input.

Thanks!
User Avatar
Member
1743 posts
Joined: March 2012
Offline
There are many ways to make groups based on attributes in Houdini 16. The Group SOP's “Base Group” parameter offers the same functionality as other Group fields in Houdini, where you can do some limited checks like @id=5, or @name=“foo”.

The Group Expression SOP gives the ability to make more complicated VEXpressions to indicate whether an element should be in a group or not based on attributes, parameters, topology, point cloud lookups, or anything else that VEX provides, as long as it fits in one line. If you need more than one line of VEX to work out the condition, you can always use an Attribute Wrangle SOP and write to @group_MyGroupName, or call setpointgroup, setprimgroup, or setvertexgroup.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
10 posts
Joined: Sept. 2016
Offline
Thanks!
Just made some experiments - it's work.
User Avatar
Member
2 posts
Joined: Nov. 2014
Offline
Thanks! Very helpful
  • Quick Links