This days i want to write a Bachplot programm for CAD 2008-2012. But When i get the window point to plot , I have to transform the UCS point3d to DCS point3d. In the CAD2012 netapi there is UCSToDisplay, well, the CAD2008 netapi doesn't contain this function. Could you give me some help to realize this transform? By the ways ,My english is not very good, I would like you to give some code, or some forums url not GOOgle urls. Thank you very much.
Hi,
I do not know any UcsToDisplay method in AutoCAD NET API.
Anyway, you'll find some Editor and Viewport extension methods that return Matrix3d objects and a Point3d.Trans() extension method which works as the LISP trans function in the GeometryExtensions project:
http://www.theswamp.org/index.php?topic=31865.msg373672#msg373672