In System.Windows.Forms – I can get the coordinates relative to the upper-left corner of the screen using the Control.MousePosition Property.
How can I get the XYZ coordinates of the mouse on a revit drawing?
(This question is related to my previous question!) Any suggestions on how to translate the Control.MousePosition windows coordinates to a revit drawing would also be appreciated as a work around.
Many thanks,
Patrick
We want to use the AutoCAD API ability to interactively control polyline creation using the Revit equivalent of a Jig.
Here is the AutoCAD implementation
http://through-the-interface.typepad.com/through_the_interface/2006/11/controlling_int_1.html