Using LISP with AutoCAD Architecture and MEP

Occasionally, we still seem to get questions about using LISP with AutoCAD Architecture (ACA) and MEP (AME). ACA and AME dropped DXF/LISP support since ADT 2004. This blog post gives you a little bit of history and reasoning behind the decision. 

As new people joins, they sometimes assume whatever AutoCAD supports will be automatically extended to verticals. As it's been a while since we had this discussion, I'm bringing up this topic for the sake of people who are new to AutoCAD community.   

The hard fact is that LISP uses DXF code to function, and ACA/MEP do not implement DXF. If you try to use LISP to access AEC objects, it simply does not return values. (Please see the earlier post for details.) 

You can still use LISP as a vanilla AutoCAD. While AutoCAD is not adding any enhancement to LISP, the functionality it has already should remain. Same for VBA; ACA and AME do not support VBA/ActiveX. You can use it only to the level that access non-AEC objects.  

If you are trying to customize ACA and AME, we recomend .NET API.

Mikako

 


Comments

4 responses to “Using LISP with AutoCAD Architecture and MEP”

  1. While not robustly supported, the Visual LISP commands (VL-*, VLAX-*) can be used to access data from AutoCAD Architecture (ACA) objects. The ACA Help pull-down includes an item to open the AutoCAD Architecture Developer Help (which probably has not been updated in years), which lists the basics of the object model and can be used to figure out where the desired data resides.
    No doubt that those with the skills to use .NET will have an easier time of it, but for those of us without the time to master that, things that used to be available via DXF can still be accessed via Visual LISP.

  2. Hi David,
    Yes, you are absolutely right. That’s why I pointed to the previous post about more detail where it explains why it sometime works and sometimes not. If you are able to make use of it, it is okay to use it. This is more about the status and history of LISP on ACA/AME for younger people who is just starting to learn LISP or AutoCAD products.
    By the way, one of few left from the original ACA team told me that 2017 is the 20th release of ACA, including 3.3 and German only 2.0. Some of you who knows ACA for a long time, may feel nostalgic. Congratulations to the successful launch of 20th ACA!

  3. LeeJaeYoung Avatar
    LeeJaeYoung

    Hi
    Can I ask you a question about aca here?
    I’m trying to get a bound line from a slab with autolisp, but what to do.
    and I want to get information about the slab style.
    For example
    The thickness, offsets of the componets in the slab style …

  4. I’d like to thank the author for writing such an insightful and informative blog post that is not just useful to the readers but also revealing.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading