Active Contributor
Posts: 33
Registered: ‎09-23-2011
Message 1 of 3 (157 Views)

[.NET] Align Object with Plane

157 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
Posts: 341
Registered: ‎04-30-2009
Message 2 of 3 (117 Views)

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
Posts: 33
Registered: ‎09-23-2011
Message 3 of 3 (93 Views)

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

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 or visit the Installation and Licensing Forum to get help installing your software.