Jump to content

Pin Constraint Points Selection


BOON

Recommended Posts

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

Link to comment
Share on other sites

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 by sadhu
Link to comment
Share on other sites

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

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...