Autodesk Developer Network

AutoCAD Civil 3D

AutoCAD® Civil 3D® is a powerful civil engineering tool incorporating a dynamic engineering model that allows elements to be automatically updated in response to changes in your design. Using AutoCAD® Civil 3D® as a platform, you can take advantage of industry-standard development tools and technologies when building applications.

Learn more about the latest AutoCAD Civil 3D features at the AutoCAD Civil 3D product center.

There are three APIs available for customizing AutoCAD® Civil 3D®:

  • .NET API allows you to write plug-ins to AutoCAD® Civil 3D® in any .NET language.
  • COM API can be used in creating VBA macros which you can run from the AutoCAD Civil 3D command line. Visual Basic for Applications (VBA) IDE is not included by default in AutoCAD® Civil 3D®, but you can download it from http://www.autodesk.com/vba-download. You can also create clients that access the COM API from managed (.NET) or unmanaged (C++) code.
  • Custom Draw API (in C++) is an extension of the AutoCAD ObjectARX API that allows you to customize the way AutoCAD® Civil 3D® renders objects. The AutoCAD .NET Overrule API can be used for AutoCAD Civil 3D® objects.

Community

Blogs
Infrastructure Modeling DevBlog from ADN Team is a useful resource for software developers working with Autodesk Infrastructure Modeling technologies

Civilized Development - Isaac Rodriguez

Discussion Groups
Public discussion groups provide an open forum for sharing knowledge and receiving support. Join AutoCAD Civil 3D Developer Discussion Group. You may also find useful software development information in AutoCAD development discussion groups.

Showcase

Autodesk Exchange Apps for AutoCAD and AutoCAD Civil 3D: Easily extend the power of AutoCAD and AutoCAD Civil 3D using apps created for the end user community.

Cloud Computing: Find out how to develop and integrate Cloud Computing (Software as Service) solutions with your AutoCAD and AutoCAD Civil 3D plug-in applications.

Learning

DevTVs:

  • DevTV: Introduction to AutoCAD Civil 3D 2015 .NET Programming
    A self-paced video tutorial on how to start developing for AutoCAD Civil 3D with VB.NET 
    View online | Download
  • Video : AutoCAD Civil 3D 2012 Surface .NET API
    A self-paced video tutorial demonstrating the new Surface objects and related function in AutoCAD 2012 .NET API.
    View online | Download

Documentation:

AutoCAD Civil 3D 2015 API documentations is designed for developers who want to customize AutoCAD® Civil 3D® or create applications using the underlying APIs. The Developer’s Guide show how to create code with .NET API and legacy COM API, with explanations and sample codes. The .NET API Reference Guide contains a complete list of objects available. For your convenience, a downloadable version of Civil 3D 2013 Reference document is also available.

Code Samples:

API samples are included in the “Sample” folder of the AutoCAD Civil 3D installation directory.

Lots of useful code snippets are posted in Infrastructure Modeling DevBlog and in the ADN website.

Tools

SDK
Although AutoCAD® Civil 3D® does not expose an ObjectARX API, applications built with the AutoCAD ObjectARX SDK or the AutoCAD Map ObjectARX SDK (32bit) or ObjectARX SDK for AutoCAD Map (64bit) will run within AutoCAD® Civil 3D®. Find out more details about the Tools and programming environments supported for customization and application development of AutoCAD Civil 3D referring to Civil 3D Developers Guide and API Reference Documents.

Snoop Civil 3D 2015 Database
This tool allows developers inspect the Civil3D Database without writing code. It works by showing the root objects of Civil3D 2015 (i.e. Styles, Alignments, Corridors, Assemblies, Subassemblies, Pipe networks and Surfaces) listing them on the left with all objects on each collections, such as all alignments on the active drawing, and once click on each item, list all its properties on right.

To use this tool, follow the instructions at the following blog post:

Snoop Civil 3D 2015 Database

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.