revelationsr Posted February 13, 2014 Share Posted February 13, 2014 Hello. I was hoping someone could point me to where I could find some advanced grouping tut. For example I would like to know how to ..... -if point number X is in a group how would I add point number X+1 -same as top but how to remove -How to check the value of something on a point then add or remove from group based on that. -how to add all the points of a group if at least one point is in the same group. Anything to along that line would be great. CHeers Quote Link to comment Share on other sites More sharing options...
iamyog Posted February 13, 2014 Share Posted February 13, 2014 (edited) a VOPSOP involving a few tests and "add point to group", "in group" or "Create Point Group" is probably what you are looking for.Have a look there : http://www.sidefx.com/docs/houdini13.0/nodes/vop/addgroup Edit : Or you can try pointWrangle, check this : http://www.sidefx.com/docs/houdini13.0/vex/snippets#idm47738930118528 and http://www.sidefx.com/docs/houdini13.0/vex/functions/setpointgroup Edited February 14, 2014 by iamyog Quote Link to comment Share on other sites More sharing options...
revelationsr Posted February 14, 2014 Author Share Posted February 14, 2014 Thanx that did help. It is tough when one is starting out. Because even though you have a good idea what you are looking for you just don't know what it is called. But I will get there. Two more things. Is it possible to import a groups points directly into a vop sop? Also. How can one add to the point number. For example. I have point 12 in the group, so I also what points 13 and 14 to be in the same group? Cheers Quote Link to comment Share on other sites More sharing options...
iamyog Posted February 14, 2014 Share Posted February 14, 2014 VopSop are working per point. You can't import a group of point inside the VopSop itself but you can test if the current point is part of a group. To answer your second question, one way would be to substract 1 to your pt number and check if it's part of a group, if yes, then add the current point to the same group. Quote Link to comment Share on other sites More sharing options...
revelationsr Posted February 15, 2014 Author Share Posted February 15, 2014 (edited) That does help thank you. Here is another question. If I have a bunch of points in a group and they all have point numbers. So lets say point number 20 come back as true for something. Lets say a second group also has a point 20 in it. So because they are both have a point 20 I would like to remove point 19, 20 and 21 from one of the two groups. Any ideas? Edited February 15, 2014 by revelationsr Quote Link to comment Share on other sites More sharing options...
Follyx Posted February 16, 2014 Share Posted February 16, 2014 So whats the real deal with your question? How to delete points from a group? Quote Link to comment Share on other sites More sharing options...
revelationsr Posted February 16, 2014 Author Share Posted February 16, 2014 Yes. But mostly to delete points if I don't have a corresponding point number. If one uses a switch node with a and node can filter out the unwanted points. But how would one filter out the points that is not directly on the current point number. So if point 20 is the current point number. How then would I also kill points 19 and 21? 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.