AutoCAD® Mechanical is AutoCAD® software for manufacturing, purpose-built to accelerate the mechanical design process. Including all the functionality of AutoCAD, the world’s leading CAD software, plus comprehensive libraries of standards-based parts and tools for automating common design tasks, AutoCAD Mechanical offers significant productivity gains and helps save hours of design time.
Learn more about AutoCAD Mechanical in the product center.
Samples and Documentation:
Several source code samples showing how to use AutoCAD Mechanical are included with the SDK (download links below). These samples are located in the “sample” subfolder.
The “doc” subfolder in AutoCAD Mechanical SDK contains C++ API reference guide (“acadmcpp_19_0.chm”).
AutoCAD Mechanical 2015 Developer’s Guide
AutoCAD Mechanical 2014 Developer’s Guide
AutoCAD Mechanical 2013 Developer’s Guide
AutoCAD Mechanical 2012 Developer’s Guide
AutoCAD Mechanical 2011 Developer’s Guide
Any task you can perform within AutoCAD Mechanical can be automated with macros, scripts, or custom external programs. This guide shows you how to use Visual Basic for Applications (VBA) macros to control the program, saving time in repetitive or specialized tasks, helping to enforce company standards, and easing collaboration with other AutoCAD Mechanical users.
AutoCAD Mechanical 2015 ActiveX and VBA Reference Guide
AutoCAD Mechanical 2014 ActiveX and VBA Reference Guide
AutoCAD Mechanical 2013 ActiveX and VBA Reference Guide
AutoCAD Mechanical 2012 ActiveX and VBA Reference Guide
AutoCAD Mechanical 2011 ActiveX and VBA Reference Guide
This Reference Guide briefly introduces the basics for COM objects, and their associated methods and properties in AutoCAD Mechanical ActiveX Automation, which provides a mechanism to manipulate AutoCAD Mechanical programmatically from within or outside of AutoCAD Mechanical. It does this by exposing various objects to the "outside world." Once these objects are exposed, they can be accessed by many different programming languages and environments, or from within other applications such as Microsoft Word VBA™ or Excel VBA™.
Software Development Kit (SDK)
The SDK contains libraries, header files, documentation, and samples for AutoCAD Mechanical APIs, which provide object-oriented C++ programming interfaces for developers to use, customize, and extend AutoCAD Mechanical software. Please refer to the readme for changes to this release of SDK.
AutoCAD Mechanical 2015 SDK
AutoCAD Mechanical 2014 SDK
AutoCAD Mechanical 2013 SDK
AutoCAD Mechanical 2012 SDK
AutoCAD Mechanical 2011 SDK
ActiveX (COM Automation)
AutoCAD Mechanical ActiveX Automation contains three parts of type libraries, including SymBBAuto (Symbols, Balloons, and Bills Of Materials), AcadmAuto (AutoCAD Mechanical), and GeAuto (Geometry). These type libraries provide ActiveX® interfaces in AutoCAD Mechanical software to automate AutoCAD Mechanical from other applications via COM automation.
Note: Microsoft is no longer offering VBA distribution licenses to new customers as of July 1, 2007 and has indicated that there are no plans to provide VBA product enhancements in the future. As a result of this, though Autodesk will continue to “unofficially” support VBA in its 2011 products, software developers are strongly encouraged to base all future Microsoft Windows based development for AutoCAD based products on the Microsoft .NET Framework (VB .NET, C#, managed C++ etc). Please refer to AutoCAD’s Microsoft Visual Basic for Applications Module FAQ for detail.