đź’ˇ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
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 ??
Advertisement