Issue
We have been using AutoCAD MEP contents and want to further customize some of the work we have been doing. I searched public ADN site. I see AutoCAD and AutoCAD Architecture, but I cannot find anything about AutoCAD MEP. What kind of API does MEP have? Where can I download the SDK?
Solusion
API for AutoCAD MEP (AME) is .NET. There is no C++ API like ObjectARX for AutoCAD. Managed modules, which you need to reference in the .NET project, are all in the product install. You don't need anything additional to customize AME using .NET API. The install location for 2013 release typically looks like this.
C:\Program Files\Autodesk\AutoCAD 2013\MEP
The managed modules have a naming of *mgd.dll.
Help files are found under Help folder:
C:\Program Files\Autodesk\AutoCAD 2013\Help\amemgd.chm
Samples are under Sample folder:
C:\Program Files\Autodesk\AutoCAD 2013\Sample\CS.NET
C:\Program Files\Autodesk\AutoCAD 2013\Sample\VB.NET
Note: products install location has been changed in 2013 release. For 2012 releases and earlier, they are as follows:
C:\Program Files\Autodesk\AutoCAD MEP 2012\
C:\Program Files\Autodesk\AutoCAD MEP 2012\Help
C:\Program Files\Autodesk\AutoCAD MEP 2012\Sample\CS.NET
C:\Program Files\Autodesk\AutoCAD MEP 2012\Sample\VB.NET
You can find learning materials from the webcast archives. Go to here:
http://www.adskconsulting.com/adn/cs/api_course_webcast_archive.php
Look for on “AutoCAD MEP .NET”.
You can also find materials from the 2008 AEC DevCamp in AutoCAD/ACA/AME track, which you can also download from the above archive page.
The following are discussion forum for AutoCAD, Architecture and MEP:
http://forums.autodesk.com/t5/AutoCAD-MEP/bd-p/61
http://forums.autodesk.com/t5/AutoCAD-Architecture/bd-p/54
http://forums.autodesk.com/t5/NET/bd-p/152
Since AutoCAD MEP is built on top of AutoCAD and AutoCAD Architecture, depending on the type of question, you may use those discussion forums.