• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    ASE, SQL, OLE, ADE

    Reply
    New Member
    Posts: 2
    Registered: ‎06-01-2012

    How and where are geometric and parametric constraints stored?

    178 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.

    Please use plain text.
    ADN Support Specialist
    Posts: 172
    Registered: ‎06-02-2009

    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

    Please use plain text.
    New Member
    Posts: 2
    Registered: ‎06-01-2012

    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!

    Please use plain text.