How can I perform a dynamic copy of an object?

I’m recreating a copy command with some additional features like add user text inside the copied object, I did everything and it works but I would like to see the object following the mouse cursor while I’m moving it. Exactly how the copy command does, any suggestion about how to achieve this using C#?

Create a DisplayConduit that you can use to draw an object following the mouse.

You should be able to find a lot of example code through the developer samples github repository: Code search results · GitHub

And check this developer guide explaining DisplayConduits: Rhino - Display Conduits

1 Like

Hi @sartoriedo,

Here is a sample you can review.

TestCopyCommand.cs (2.5 KB)

– Dale

2 Likes

Thank you very much, I’ll test it as soon as possible