Autodesk Developer Network

AutoCAD® Mechanical

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.

Community

Blogs
Get news, expert tips and insider resources directly from Autodesk software engineers.

Discussion Groups
Public discussion groups provide an open forum for sharing knowledge and receiving support. Join the AutoCAD Mechanical Discussion Group discussion groups. You might also find useful software development information in the following AutoCAD Development Discussion Groups:

Learning

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

acmdevguide_19_0.chm (chm - 208Kb)

AutoCAD Mechanical 2014 Developer’s Guide

acmdevguide_18_0.chm (chm - 720Kb)

AutoCAD Mechanical 2013 Developer’s Guide

acmdevguide_17_0.chm (chm - 718Kb)

AutoCAD Mechanical 2012 Developer’s Guide

acmdevguide_16_0.chm (chm - 718Kb)

AutoCAD Mechanical 2011 Developer’s Guide

acmdevguide_15_0.chm (chm - 718Kb)

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

acadmauto_19_0.chm (chm - 3972Kb)

AutoCAD Mechanical 2014 ActiveX and VBA Reference Guide

acadmauto_18_0.chm (chm - 3969Kb)

AutoCAD Mechanical 2013 ActiveX and VBA Reference Guide

acadmauto_17_0.chm (chm - 3887Kb)

AutoCAD Mechanical 2012 ActiveX and VBA Reference Guide

acadmauto_16_0.chm (chm - 3866Kb)

AutoCAD Mechanical 2011 ActiveX and VBA Reference Guide

acadmauto_15_0.chm (chm - 3793Kb)

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

Tools

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_2015_SDK.exe (exe - 6427Kb)

AutoCAD Mechanical 2014 SDK

autocad_mechanical_2014_sdk.exe (exe - 6323Kb)

AutoCAD Mechanical 2013 SDK

autocad_mechanical_2013_sdk.exe (exe - 6212Kb)

AutoCAD Mechanical 2012 SDK

autocad_mechanical_2012_sdk.exe (exe - 6178Kb)

AutoCAD Mechanical 2011 SDK

autocad_mechanical_2011_sdk.exe (exe - 8147Kb)

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.

Training and Support

If you need more professional customization support, consider joining the Autodesk Developer Network.

For more information on API Training please visit www.autodesk.com/adnopen