New Member
Posts: 2
Registered: ‎06-01-2012
Message 1 of 3 (359 Views)

How and where are geometric and parametric constraints stored?

359 Views, 2 Replies
06-01-2012 10:17 AM

Currently I am doing a master thesis regarding geometric and parametric constraints similar to the ones that can be found in Autocad. There are a few modifications, but in general I would like to compare them with what is currently in Autocad. Could anyone point me out where those constraints are actually stored? I have searched through the DXF and DWG specs, but couldn't find the reference.


I would also like to know if constraints in Autocad are 'metainformation' along with a materilised shape or actually the base of the shape that is resolved, and is materialised each time a constraint changes.

ADN Support Specialist
Posts: 576
Registered: ‎06-02-2009
Message 2 of 3 (342 Views)

Re: How and where are geometric and parametric constraints stored?

06-27-2012 03:13 PM in reply to: Skinkie

Hi Skinkie,


AutoCAD isn't a fully constraint based parametric modeler like Inventor is. So to reuse your own words, constraint are 'metainformation' along with the materilised shape. They apply to sub-entity edges and vertices of the AutoCAD geometry.


To get an idea about how and where constraints are store inside a dwg database, the best is probably to take a look at the associative framework topic that is describe in details inside the ObjectARX SDK API Help Files. You will find there the relevant concepts and objects involved in the parametric behavior added to AutoCAD.


I also attach a sample ARX project that we created, entitled ArxConstrainDbg, by analogy to ArxDbg, which allows to dump existing constraints from a dwg.





Philippe Leefsma
Developer Consultant
Developer Technical Services
Global Subscription & Support 

Autodesk EMEA

Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

New Member
Posts: 2
Registered: ‎06-01-2012
Message 3 of 3 (340 Views)

Re: How and where are geometric and parametric constraints stored?

06-27-2012 03:22 PM in reply to: Skinkie

Dear Phillipe, thanks you very much for your reply!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community