Hey guys, I am new to Houdini and trying to do a project where I have a packed fractured object and I am making points in the center of these pieces to make a group as to what is active and not active using an expression in the ActiveValue DOP node. If you awesome guys could take a look at this expression and let me know what I am doing wrong.
Note: This is for packed primitives, so H13, not H12.
This is the expression
point("/obj/Angel/AC", groupbyvals("/obj/Angel/AC", D_POINT, “name”, $OBJNAME), “ACTIVE”, 0)
I think it’s the $OBJNAME part. Because when I type a string value, “piece0” it works. but i need it to look at all the pieces like “piece0-240” but that doesn’t work.
I would upload the file but it won’t let me so I have to do pictures
Thanks guys for any feedback at all!! 