.NET

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

UcsToDisplay

115 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,133
Registered: ‎04-29-2006
Message 2 of 2 (110 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
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.