Barakooda Posted August 2, 2011 Share Posted August 2, 2011 (edited) I have primitive groups cube0, cube2, cube3...cube63 I have 64 points. I want to move any of the 64 points easily and the cube group will move accordingly. lets say, each point is in the center of every cube group(its not really matter). any help will be welcome ! B. Edited August 2, 2011 by Barakooda Quote Link to comment Share on other sites More sharing options...
Annon Posted August 2, 2011 Share Posted August 2, 2011 Do you have a scene I can look at to see what you're on about? If you want to group a point based on whether it's inside a cube or not (and give it the cubes name). Then I guess you could do a for loop on each cube and group by bounding box... There's many ways of doing something like that, if you pass me a scene I'll be able to tell better what you are after. Quote Link to comment Share on other sites More sharing options...
Barakooda Posted August 2, 2011 Author Share Posted August 2, 2011 (edited) . Edited August 2, 2011 by Barakooda Quote Link to comment Share on other sites More sharing options...
Barakooda Posted August 2, 2011 Author Share Posted August 2, 2011 Do you have a scene I can look at to see what you're on about? If you want to group a point based on whether it's inside a cube or not (and give it the cubes name). Then I guess you could do a for loop on each cube and group by bounding box... There's many ways of doing something like that, if you pass me a scene I'll be able to tell better what you are after. Thanks mate ! here you go. Please everyone feel free to share your method to over come this issue. example.hipnc Quote Link to comment Share on other sites More sharing options...
Tong Le Posted August 3, 2011 Share Posted August 3, 2011 Thanks mate ! here you go. Please everyone feel free to share your method to over come this issue. Hey, I dont know if I understand ur question or not. However, i think if u just wanna move or rotate ur geo according to the pts, u can just use copy sop and turn on "use template point attribute". Then, ur geo will inherit the attribute from the pts. example_tong.hipnc Quote Link to comment Share on other sites More sharing options...
Barakooda Posted August 3, 2011 Author Share Posted August 3, 2011 Hey, I dont know if I understand ur question or not. However, i think if u just wanna move or rotate ur geo according to the pts, u can just use copy sop and turn on "use template point attribute". Then, ur geo will inherit the attribute from the pts. Thanks Tong Le, Its not what I meant, the functionality should take place after the copy sop. I attached the the given scenario, all you need to do is to move the groups "cube" by the the give points. Quote Link to comment Share on other sites More sharing options...
yongbin Posted August 3, 2011 Share Posted August 3, 2011 how about this? or, if the points are center of each geo group. you can scale down and make it very small then use attrib transfer sop for transfer the transform data. example.hipnc Quote Link to comment Share on other sites More sharing options...
Barakooda Posted August 3, 2011 Author Share Posted August 3, 2011 (edited) how about this? or, if the points are center of each geo group. you can scale down and make it very small then use attrib transfer sop for transfer the transform data. thanks almost :-) I had to look on more foreach examples around the net. I uploaded my solution. thank you for the help ! B. answer.hipnc Edited August 3, 2011 by Barakooda Quote Link to comment Share on other sites More sharing options...
yongbin Posted August 3, 2011 Share Posted August 3, 2011 Hi, this is what I mentioned earlier. maybe this is faster than foreach copy version. If you have to dealing with very heavy geometrys, try using it. Though it has some limitations. alt_ver.hipnc 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.