By Daniel Du
AutoCAD Map 3D Industry Models,which was part of Topobase Client(old name), provides APIs for customization. Over 70 samples are provided in both C# and Visual Basic, located under <Map 3D Install Directory>\Development\Samples, which are documented in Developer Samples.
A plugin for Map 3D industry model contains a class library (that is, a file with a “.dll” extension) and a AutoCAD Map 3D plugin definition file (identified by the .tbp extension) so that AutoCAD Map 3D knows about your plugin.
To test your plugin from Visual Studio, please make sure to set your output path to <Map 3D Install Directory>\Bin folder:
And do not forget to copy the tbp file to output folder as well. You can set “Copy to Output Directry” tp “Copy always” or “Copy if newer”:
For the first example C:\Program Files\Autodesk\AutoCAD Map 3D 2013\Development\Samples\CSharp\01_CreateStructure, a new button will be added into Industry Model Explorer. When clicking it, a custom form will show up.
There are many other samples, and the document can be found in wikihelp.