Implementing MLINE command in Rhino

Hi @vincentfs, you might take a look at events to do this. Whenever you modify the contents of the rhino document, various events are fired. You can “hook into” these events and add your own behaviour, however not all events can be used with python. There is some info about this here.

c.