Dynamo Script that detects Cursor position in Revit active view

hello i mtrying to make a script that detects the mouse cursor hovering on a revit active view and creates a point right on my cursor in revit active view , something like this , Parakeet on Grashopper/rhino,ive tried creating a python script that does that , but the point is offseted from the cursor

Cotation par clique.dyn (25.4 KB)