Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get Mouse Coordinates

1 REPLY 1
Reply
Message 1 of 2
padraig.oleary
907 Views, 1 Reply

Get Mouse Coordinates

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

1 REPLY 1
Message 2 of 2

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

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community