Select by Curve ForEach Loop Question Houdini 19

   2156   4   0
User Avatar
Member
96 posts
Joined: Oct. 2013
Offline
Hi,

I am trying to create a setup that selects points based on proximity to point groups on curves. I think I have most of it put together, except the group names being applied within the foreach loop on the delete_other_groups and group_create nodes.

Desired output is the grid mesh, with point groups with the same names as the source curve point groups.

Thank you,

Adnan Hussain

Attachments:
select_by_curve_foreach_v01.hiplc (162.4 KB)
viewport.JPG (137.1 KB)
nodes.JPG (27.5 KB)

User Avatar
Member
678 posts
Joined: Feb. 2017
Offline
Hey madguru,

have you taken a look at the transfer groups node? as it can do what you want to achieve.

Cheers
CYTE
User Avatar
Member
96 posts
Joined: Oct. 2013
Offline
Thanks for the reply CYTE. I did not know about that node. It is useful, but doesn't quite give me what I need in this case, as it selects a larger area of points than what would be within the sweep geometry I am creating based on each curve points group.

Thank you,

Adnan Hussain
User Avatar
Member
8532 posts
Joined: July 2007
Offline
usually there is no need for groups, you can use name attribtue and easily transfer it from closest surface using Ray SOP
no need for foreach also
but if needed you can create name from groups and groups back from name after the transfer
Edited by tamte - Feb. 21, 2022 00:55:58

Attachments:
select_by_curve_foreach_v01_fix.hipnc (183.7 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
96 posts
Joined: Oct. 2013
Offline
Thanks Tomas for such a well thought out and detailed explanation. Much appreciated.
  • Quick Links