.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
huaxiamengqing
410 Views, 1 Reply

UcsToDisplay

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.

1 REPLY 1
Message 2 of 2
_gile
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
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost