What’s new in AUTOCAD CIVIL 3D 2014 API?

By Partha Sarkar

Along with
the new look, AUTOCAD CIVIL 3D 2014 adds
some important .NET API to Corridors and it's constituents like Assembly,
Subassembly, BaseLines.

Now, we can add /
create Corridor using
Autodesk.Civil.DatabaseServices.CorridorCollection.Add(string corridorName) and
its overloaded methods.

We can
access/add/remove Baselines using the BaselineCollection class as well as
modify Baseline properties. 

We can add
and remove a Subassembly as well as Import a Stock Subassembly
(ImportStockSubassembly()) or Subassembly (ImportSubassembly()) from an ATC
file. 

We can Add
Assembly and ImportAssembly as well. 

Apart from
Corridor, other API enhancements include features like Section View Groups,
SectionView, Sections etc. 

For all the
details on what's new in AUTOCAD CIVIL 3D 2014 .NET API, I would suggest you to
take a look into Civil 3D 2014 wikihelp's "New
Features in the .NET API
" section. 

 

If you are
using COM API, please note the following update –

If you are
using the COM API, you need to update the object version to 10.3 (from 10.0
used in AutoCAD Civil 3D 2013). The objects and interfaces exposed have
remained the same, but you should reference the new libraries, which are
installed by default to: "C:\Program Files\Common Files\Autodesk
Shared\Civil Engineering 103".

 

Stay tuned for more
articles covering new API features in the coming days!

 


Autodesk-logo-rgb-color-logo-black-text-large


Comments

3 responses to “What’s new in AUTOCAD CIVIL 3D 2014 API?”

  1. RasmusB Avatar
    RasmusB

    Hi Partha,
    Thanks for the update! It is quite troublesome to expose to the user, in the Toolpalette, assemblies and subassemblies that are stored in atc-files (and has associated dlls). It would be great if much of that work could be handled by the API. Initially I thought/hoped that the new importsubassembly/assembly-functionality would handle this, but having looked into it more in-depth, I understand that this is not the case? The new functionality just mimics what is done when the user selects an assembly or subassembly from the Toolpalette and put it into the drawing? (In my case though, Civil handles this for me since I already have my assemblies in the Toolpalette)

  2. Veli V. Avatar
    Veli V.

    Hi,
    why Visual Studio 2010 doesn´t show COM references:
    – AeccXLandLib
    – AeccXPipeLib
    – AeccXUILandLib
    I select them one by one from “C:\Program Files\Common Files\Autodesk Shared\Civil Engineering 103” folder. Is there some COM registration proglem or something like that?
    Cheers
    Veli V.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading