ASE, SQL, OLE, ADE

ASE, SQL, OLE, ADE

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

How and where are geometric and parametric constraints stored?

428 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
philippe.leefsma
Posts: 676
Registered: ‎06-02-2009
Message 2 of 3 (411 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.

 

Regards,

Philippe.

 

Philippe Leefsma
Developer Consultant
Developer Technical Services
Global Subscription & Support 

Autodesk EMEA

 

www.autodesk.com/joinadn




Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

New Member
Skinkie
Posts: 2
Registered: ‎06-01-2012
Message 3 of 3 (409 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!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.