ASE, SQL, OLE, ADE
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How and where are geometric and parametric constraint s stored?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: How and where are geometric and parametric constraint s stored?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Regards,
Philippe.
Philippe Leefsma
Developer Consultant
Developer Technical Services
Global Subscription & Support
Autodesk EMEA
Philippe Leefsma
Developer Technical Services
Autodesk Developer Network
Re: How and where are geometric and parametric constraint s stored?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Dear Phillipe, thanks you very much for your reply!

