cloudfx Posted July 25, 2012 Share Posted July 25, 2012 Hi, with python or any commands in textport or whatwever, how would I select a group with selecting a point or prim in the group? 1 Quote Link to comment Share on other sites More sharing options...
thinkinmonkey Posted July 25, 2012 Share Posted July 25, 2012 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.