Auto-assigning shape name to group in attachjointgeo

   216   4   2
User Avatar
Member
3 posts
Joined: 10月 2024
オフライン
I have a skeleton where joints have a name attribute and a shape library where each shape primitive has the same name as its corresponding joint. In attachjointgeo, the Group expects @name=jointname and shape name expects a primitive name. Is there any supported way to make attachjointgeo procedurally attach shapes based on matching joint/shape name attributes without manually assigning?
In the attachment below a single joint and shape are isolated and manually assigned, which is what I’m trying to avoid doing for every joint.
Edited by keziagreste - 2026年1月3日 20:57:43

Attachments:
01.JPG (87.4 KB)

User Avatar
Member
8083 posts
Joined: 7月 2005
オフライン
There's no attachment? For operations like these, usually there is a Match By Attribute parameter that you can use. But you might need to make sure that the attribute is the right type and on the right geometry.
User Avatar
Member
3 posts
Joined: 10月 2024
オフライン
Apologies. I have added the attachment now.
I can't find any such option.
Edited by keziagreste - 2026年1月3日 20:59:39
User Avatar
Member
8083 posts
Joined: 7月 2005
オフライン
Ah that option I was thinking about is on the Shape Templates. I gave it a go and it seems to do it. Note that I also had to promote the name attribute to a point from primitive to get it to work.

Attachments:
attachShapeTemplate.hip (225.5 KB)

User Avatar
Member
3 posts
Joined: 10月 2024
オフライン
Thanks!!
  • Quick Links