RhinoDoc.ActiveDoc Best Practices

a bit off topic but i’ve tried something similar just to see what happens… (start drawing a curve in one document then finish in another.)
it just cancels the command in doc1 and switches focus to doc2.