How do you bind one object to another?

How do you bind one object to another so that when you drag one object, the other object follows the movement?
I tried using the Set(string, ObjRef) method from UserDictionary, but it didn’t work。

Hi

We pair twin objects (PS/SB) based on their position relative to the ship, specifically left and right. We store a user text for each object that has a symmetrical counterpart so we can identify who is symmetric with who.

Then when an object with a symmetrical counterpart is transforme, we utilize the RhinoDoc.BeforeTransformObjects event to detect the transformation. We then transform the corresponding symmetrical object aswell, ensuring that the symmetry is maintained.

RhinoDoc.BeforeTransformObjects Event documentation.

Hope this gives you some ideas,
Farouk

Nice, Thank you. Let me try。