Worldwide Sites

You have been detected as being from . Where applicable, you can see country-specific product information, offers, and pricing.

Change country/language X

  • United States

    We have redirected you to an equivalent page on your local site where you can see local pricing and promotions and purchase online.

    Stay on our U.S. site

Keyboard ALT + g to toggle grid overlay

AutoCAD Mechanical Developer Center

Built for manufacturing, AutoCAD® Mechanical engineering design software includes all the functionality of AutoCAD, plus libraries of standards-based parts and tools to help accelerate mechanical CAD.

  • Blogs

    The Mod the Machine from ADN Team is a useful resource for software developers working with Autodesk Infrastructure Modeling technologies.

  • Public discussion groups provide an open forum for sharing knowledge and receiving support. Join the AutoCAD Mechanical Discussion Group. You may also find useful software development information in AutoCAD customization discussion groups.

  • Easily extend the power of AutoCAD using apps created for the end user community.

  • Get easy access to Forge APIs and documentation, tutorials, GitHub samples, support and more for Autodesk cloud-based software and components in your own web and mobile applications.

  • Learning

    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.

Documentation and Samples

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.chm”).

 

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

Tools

When developing on AutoCAD Mechanical, you can also use the Object ARX SDK.

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 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). Download the Microsoft Visual Basic for Applications Module (VBA) here.