BOON Posted December 13, 2012 Share Posted December 13, 2012 Hi, I've been messing around with some wires and rbd with pin constraints, and I'm wondering if there is any way I could sort the order of a `pointlist` so the constraints would go to the correct corresponding point number? I know it's not a problem to manually select point numbers in my example file, but I'm working on a much larger scene with a lot of points, so having to sort out those points by hand is a real pain. I would like to know if there's a more efficient way to do this. ConstraintPointSelection.hipnc Quote Link to comment Share on other sites More sharing options...
sadhu Posted December 13, 2012 Share Posted December 13, 2012 (edited) One soln is to enter the point numbers in the option pattern of group sop in desired sequence and toggle on create ordered option . pointlist expression will give the list with the same sequence in which you entered the points in pattern option in group sop. With applyrel dop and pointlist expression you can apply the constraint. Edited December 13, 2012 by sadhu Quote Link to comment Share on other sites More sharing options...
BOON Posted December 13, 2012 Author Share Posted December 13, 2012 Hi Sandeep, Thanks for mentioning, I totally forgot about checking that little box. This can be helpful, if I'm creating groups using the "group" sop, but what if I'm creating groups / attributes based on nearest points with point cloud lookup? In this second example file, I'm searching for the points, from the box, to constraint with pcopen, just so I wouldn't need to select them manually. But in dops how can I relate these point numbers to my wire object, since I don't have the option to "create ordered" anymore? ConstraintPointSelection_v2.hipnc Quote Link to comment Share on other sites More sharing options...
sadhu Posted December 13, 2012 Share Posted December 13, 2012 Here is the soln. Refer applyrel dop help examples if you are not familiar with applyrel and stamping ConstraintPointSelection_02.hipnc 1 Quote Link to comment Share on other sites More sharing options...
BOON Posted December 14, 2012 Author Share Posted December 14, 2012 Thanks a lot Sandeep! That is very helpful. Can't access help for now, web docs was down since midnight. Will try again later. Cheers! 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.