Rhino 7 - Linked objects, like 2 pivoted window

Hi,
I have in my project, 2 pivoted windows, where I would like that would behave as “skeleton” way. That means, if I rotate the parent side of the window, all body rotates, however if I rotate just the child part of the window, only that one rotates. Is there any tool/function that would produce this behaviour? This is important for me, because I have several of these windows, and would like to render them in different open/close modes.
On 3D Max I could do this so easily…
Thanks

Hello - you’ll need Grasshopper for this.

-Pascal