Active Contributor
34 Posts
0 Kudos
Registered: ‎09-23-2011
Post 1 of 3

[.NET] Align Object with Plane

179 Views, 2 Replies
09-18-2013 04:48 AM

Hello !


For one of our project, we have a very precise scanner that picks 3 points on a material to generate a plane.

(First point is always (0,0,0))


On autocad, I have to align different object with this plane.


I'd like to know if there is a method to directly align object with this plane?

(I can easily have the normal to this plane, and other informations, if needed)


We already try to calculate angles and make a rotation, but it's not very accurate.


Thanks for help !


Best regards,


Adri DiCri

ADN Support Specialist
390 Posts
46 Kudos
Registered: ‎04-30-2009
Post 2 of 3

Re: [.NET] Align Object with Plane

09-23-2013 11:52 AM in reply to: AdriDicri



Not sure if a direct method exists, this is really specific. Anyway, the Matrix3d struct is the base for all those changes, have you looked at Matrix3d.WorldToPlane method? It can be a start point.



Augusto Goncalves
Autodesk Developer Network
Active Contributor
34 Posts
0 Kudos
Registered: ‎09-23-2011
Post 3 of 3

Re: [.NET] Align Object with Plane

09-25-2013 12:36 AM in reply to: augusto.goncalves

Hello. Thanks for your answer !


Finally, i've found the command "3DALIGN" that do exactly what I want. It's not "automatic", but our custommer is happy with that.


Thanks again.


Adri Dicri

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
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!