AutoCAD coordinates
Moderators: SDS, support, admin
AutoCAD coordinates
Hi,
I need to know the correspondence between the coordinates of mouse click (e.X and e.Y) and the corresponding coordinates in the AutoCAD file.
How can I turn the old coordinates into the new ones?
Thank you,
lulu.
I need to know the correspondence between the coordinates of mouse click (e.X and e.Y) and the corresponding coordinates in the AutoCAD file.
How can I turn the old coordinates into the new ones?
Thank you,
lulu.
Re: AutoCAD coordinates
Hello.
The coordinates of mouse click (e.X and e.Y) are display coordinates. You can transform a three-dimensional CAD point into a two-dimensional screen point using CADImage.GetPoint method. Reverse conversion can be fulfiled using CADConst.GetRealPoint method. Pleae see example in Viewer demo application.
Alexander.
The coordinates of mouse click (e.X and e.Y) are display coordinates. You can transform a three-dimensional CAD point into a two-dimensional screen point using CADImage.GetPoint method. Reverse conversion can be fulfiled using CADConst.GetRealPoint method. Pleae see example in Viewer demo application.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support