Create joint to a component having sub-components
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been experimenting with different ways to do things, and ran into this one that I expected to work, but came up confused instead. I suspect the answer is "you can't do that," but am interested also in alternatives.
So my example may seem goofy, but I wanted to make it real simple. Here is a link that hopefully works for anyone willing to have a look: https://a360.co/2UjdTtF
What I did was create a component called "Stuff" that has a child component "MyBox" which is a simple 1-inch high box. I then used Create>Pattern>Rectangular Pattern to replicate this box vertically so I had a stack of 5 of them. Thus, the component "Stuff" has 5 child components named "MyBox:1" through "MyBox:5"
Now I activated the entire model and created a sibling component to Stuff called "TopThing." This component is also a box, albeit smaller.
Now I want to join TopThing so it rests on top of component "Stuff." I'd like to join TopThing with Stuff, but can't figure out how to interactively select component "Stuff." I can trivially create a joint between TopThing and MyBox:5. But if I do that, things go bad with the joint when I edit the pattern and reduce the number of "MyBox" components. Now MyBox:5 doesn't exist anymore and the joint goes red in error.
If instead I create an as-built joint things look better at first because I can select both TopThing and Stuff via the the browser. But now if I edit the pattern and reduce the number of replicated "MyBox" components, I get a different error. This time the box for "TopThing" has a yellow warning with this message "BoxPrimitive1 1 Reference Failures Failed to get target occurrence transform." I'm not sure how to parse that one :).
My thinking was that if I join "TopThing" to the parent "Stuff" component, the joint wouldn't need to worry about the content of "Stuff." It would just adapt to however "Stuff" comes out -- from a bounding box point-of-view, I suppose. But things don't seem to work this way.
Todd