.NET API namespace simplification in AutoCAD Civil 3D 2013

By Partha Sarkar

AutoCAD Civil 3D 2013 release introduces a namespace restructuring that simplifies referencing objects. We have fewer namespaces in AutoCAD Civil 3D .NET API assembly (AeccDbMgd.dll) compared to a long list of the namespaces in 2012 or earlier release. Here is the first look of the simplified namespaces in Civil 3D 2013 .NET API –

C3D2013_API_Namespace

And here is the long list of the namespaces in Civil 3D 2012 .NET API –

C3D2012_API_Namespace

You can see clearly that in AutoCAD Civil 3D 2013 release, all the feature name/domain levels (e.g. Land, PipeNetwork, Roadway…) are removed from the namespaces. This change will necessitate your existing projects to be rebuilt by updating the new namespaces. This restructuring of the namespaces will improve the usability by grouping related classes into the same namespace. Currently, some classes need to access other namespaces to work with certain types. With the new structure, all related classes will be grouped in the same namespace, which will simplify the usage.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

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

Continue reading