UcsToDisplay

UcsToDisplay

Anonymous
Not applicable
640 Views
1 Reply
Message 1 of 2

UcsToDisplay

Anonymous
Not applicable

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.

0 Likes
641 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

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



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes