.NET

Reply
New Member
josuesasilva
Posts: 2
Registered: ‎12-09-2013
Message 1 of 2 (309 Views)

Get mouse position

309 Views, 1 Replies
12-09-2013 12:03 PM

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

ADN Support Specialist
StephenPreston
Posts: 429
Registered: ‎05-22-2006
Message 2 of 2 (273 Views)

Re: Get mouse position

12-10-2013 12:33 PM in reply to: josuesasilva

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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.