I would like help in creating a VB.NET toolbar in AutoCAD map 3D 2011. I assume it would be close to creating a Ribbon but i have an no luck. one way I did it but does not seem to work is by this code below
'' Create toolbar
Dim groups As Object = Application.MenuGroups
Dim group As Object = groups.item(0)
Dim toolbars As Object = group.Toolbars
Dim toolbar As Object = toolbars.add("Field Engineering ToolBar")
'' Directory of bitmap images
Dim dir As String = "C:\Program Files\Autodesk\AutoCAD Map 3D 2011\FEimages"
'' New Map Button
Dim mapBtn As Object = toolbar.AddToolbarButton(0, "Make Map Button", "Helpstring button", "MAKEMAP ", False)
mapBtn.SetBitmaps(dir & "\Map_bmp.BMP", dir & "\Map_bmp.BMP")
this only seemed to work in visual stuido 2010 but then on deployment it failed, i assume I'm doing this wrong.
The goal is to build a toolbar that can be used in "map classic workspace" as I have older autocad users that like this view over the ribbon.
Please do let me know if you have any issues in getting the cui sample to work.
I haven't worked with AutoCAD Map, but I would expect the sample project to work in any of the AutoCAD Verticals.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.