Issue
Is there documentation on DXF codes of AEC objects? Are there any functions or variables that can be directly accessed via LISP as opposed to parsing them manually?
Solution
The creation and modification of AEC objects using DXF codes is NOT an officially supported programming method for AutoCAD Architecture (ACA) and MEP (AME). AEC objects are complex entities, and have not designed to be used in this fashion. Please also note that LISP has not been officially supported API for ACA and AME.
In pre-2004 releases, accessing AEC objects through DXF may have worked for some objects (although mostly they were in read-only mode). From AutoCAD Desktop (ADT) 2004, AEC objects do not support DXF. And DXFIN/DXFOUT and SaveAs DXF format for AEC has been disabled since 2004 release.
Further, in spring of year 2008, we have announced that we will be removing all AEC related DXF support completely from 2010 and later releases of ACA/AME. This transition is not complete. So you may still be able to use some of DXF code you find with AEC objects. But please expect that it may be dropped at any time in later releases, too.
This means that your LISP routines that rely on ACA/AME specific group codes may no longer function as before.
As a workaround when you encounter dropped functionality, you may still be able to use ActiveX API through LISP vla support. Alternatively, you can also write a missing function in .NET and call from LISP. If you are new to .NET, the following webcast will give a good starting point:
Webcast: AutoCAD: .NET for LISP Programmers