.NET

Reply
Contributor
15 Posts
0 Kudos
Registered: ‎11-26-2013
Post 1 of 2
Accepted Solution

Trans Function in .net

177 Views, 1 Replies
12-19-2013 02:35 AM

(vlax-3d-point (trans point3d 1 0))

 

 

I want to insert a block using the above mentioned point in .net..

How to get the 3d point from the above metioned line in .net?

 

Please guide me if you know

Editor.CurrentUserCoordinateSystem returns the transformation matrix between WCS and UCS. Once you have that, you can transform your Point3d to the new coordinate system by passing the matrix to the Point3d.TransformBy method. You'll find a few examples of CurrentUSerCoordinateSystem if you google for it.

ADN Support Specialist
433 Posts
67 Kudos
Registered: ‎05-22-2006
Post 2 of 2

Re: Trans Function in .net

12-19-2013 09:12 AM in reply to: Giri_kani

Editor.CurrentUserCoordinateSystem returns the transformation matrix between WCS and UCS. Once you have that, you can transform your Point3d to the new coordinate system by passing the matrix to the Point3d.TransformBy method. You'll find a few examples of CurrentUSerCoordinateSystem if you google for it.

Cheers,

Stephen Preston
Autodesk Developer Network
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!