.NET

Reply
Active Contributor
huaxiamengqing
Posts: 35
Registered: ‎05-23-2012
Message 1 of 2 (104 Views)

UcsToDisplay

104 Views, 1 Replies
08-12-2012 09:45 PM

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.

*Expert Elite*
_gile
Posts: 2,077
Registered: ‎04-29-2006
Message 2 of 2 (99 Views)

Re : UcsToDisplay

08-12-2012 10:40 PM in reply to: huaxiamengqing

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community