MouseCallback in different plugins problem

I’ve used MouseCallback in two different plugins, but the plugin used DisplayPipeline (DollyZoomSlider) doesn’t work when the second plugin (RhinoToGrasshopper) already loaded.

How to use MouseCallback in different plugins ?

are you calling base.OnEndMouseDown(e) in your override? (and in the other similar overrides)

1 Like

Thanks @jdhill , that’s give me an idea.
I modify the code and when i enable Mouseevent from RhinoToGrasshopper plugin DollyZoomSlider don’t work but everything works when i open Grasshopper , i think this condition do something but i don’t know why.

if (Grasshopper.Instances.ActiveCanvas.Document == null) return;

UPDATE: it works perfect now , i add the condition to override