Jump to content

select a group with selecting a point or prim


Recommended Posts

Hi,

for what I read you should cycle all groups and prim/points to find a match.

Anyway, in past I had a similar problem and I used this tricky way, I don't know if that's what you need, but here you go: selectGroupsAccordingSelectedPoints.hipnc

There's this fractured sphere with groups (piece1, piece2, piece3...).

I use a DELETE sop to have some points, in this way there will be only those groups that contain those (visible) points.

Finally I use a second DELETE sop to delete all the groups, but the ones present in the previous DELETE sop with the following formula:

`primgroupmask("../previousDelete","piece*")`

I hope the explanation is clear and I strongly hope that's what you need.

Happy magic,

Michael

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...