.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get mouse position

1 REPLY 1
Reply
Message 1 of 2
josuesasilva
1225 Views, 1 Reply

Get mouse position

Hi,

 

I'm trying to get the cursor coordinates in autocad. using Point API from Windows and capturing i think WCS coordinates. With these coordenads do I convert to Autocad? In other words convert WCS to UCS?

Is it possible to do this http://adndevblog.typepad.com/autocad/2013/08/get-mouse-cursor-position-without-event.html with .NET or is it only with ObjectARX?

 

tks

1 REPLY 1
Message 2 of 2

If you want the current cursor position in WCS, then I suggest you use the Editor.PointMonitor event. You'll find a lot of examples online if you google for that event name.

Cheers,

Stephen Preston
Autodesk Developer Network

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


Autodesk Design & Make Report

”Boost