Running Industry Model Samples of Map 3D

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:

image

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”:

image

 

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.

image

 

There are many other samples, and the document can be found in wikihelp.


Comments

One response to “Running Industry Model Samples of Map 3D”

  1. Now we have many apps to use with GPS and maps with Android apps and others, Technology facilitates humans to investigate and learn

Leave a Reply to AutocadCancel reply

Discover more from Autodesk Developer Blog

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

Continue reading