Jump to content

Apply Relationship DOP and Looped Constraints


goldleaf

Recommended Posts

I've modified the Chain example file (from the docs) which demonstrates the Apply Relationship DOP, in order to loop together a chain of RBDs together (like a bracelet). However, I can't get the first and last ones to connect. Does anyone have an idea of why this might be? At the moment, I'm using the point() function to get the position of each rbd point object.

Also, the way I understand the Chain example, there isn't a way to connect more than 10 objects. Is there a way to do this?

Thanks!

p.s. my intent with this is to eventually figure out how the hamburger patties and buns were created for Cloudy; if anyone with some insights would like to chime in, I'd be really grateful!

applyRel_loop.hip

post-3767-127512077507_thumb.jpg

Edited by goldleaf
Link to comment
Share on other sites

  • 1 month later...

Hi, did u tried groups ? u can access to objects in group by expression:

dopfields("..", "Relationships/group_name", "", "ObjInGroup", {index}, "objname")

or to get number of objects in group:

dopnumrecords("..", "Relationships/group_name", "", "ObjInGroup")

then u can create relationships, read help about Apply Relationship it is possible to stamping on this operator.

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