Houdini Resources

Updated on June 26  2024


Wrangle Node Examples

Deborah R. Fowler



Wrangle Node Example - Create N Group

Posted on Oct 13  2019


Example file  here: hipnc available

This stems from a student question about creating points within a point wrangle and assigning certain ones to a group.
There are two methods, one to use setpointgroup and the other to addattrib and setattrib which are commented out.
MISSING IMAGE
Note that when adding point attributes it is important to indicate the type with the default value. For example if you set pscale to 1 instead of 1.0 you will not be able to assign a floating point value.

I have highlighted the pscale attribute being added below.
MISSING IMAGE