Link an entity to a dynamic component
-
Hi,
I am trying to link an entity created by a Tool (a construction point) to a dynamic component animated by the same Tool.
For now, my tool moves and modifies a little bit my DC (length, width), then creates a construction point.Is there any possibility to link the two entities with a Ruby command ?
I was thinking of adding the construction point as a sub-component of my DC (which already counts three sub-components). But my DC should keep the same name at the end.
Thanks a lot for your help.
-
You have your DC's definition, so why not use
dcdefn.entities.add_cpoint(point)so that then it is part of the DC ??
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement