CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3170 
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 8267:

Question CAD 
 %  platform  category 
Q - question

How to create a ribbon icon for a custom macro.

A - answer If you use a handy VBA macro in Inventor, you can make it directly available by assigning it to a new icon in your ribbon menu.

Right-click in an empty space in your ribbon and choose "Customize User Commands" from the context menu. In the "Customize" dialog (on the "Ribbon" tab) select your macro from the list "Macros" and use the ">>" button to copy it to the requested ribbon tab. See the picture (in Czech):

Setting macro icons

You can define your own custom icon by placing a BMP file along your IVB macro file - name it ModuleName.MacroName.Small.bmp

Inventor2013Inventor2012
100% *  CAD 
17.10.2011    9540×  
applies to: Inventor 2013 · Inventor 2012 ·

See also:
Tip 12828:How to quickly delete 3rd party links to external objects in Inventor?
Tip 12815:How to fill iProperties into Inventor files from Excel?
Tip 12743:A change in iLogic processing of Excel tables since Inventor 2021.
Tip 12520:How to set Inventor Display style and Lighting style from an iLogic macro?
Tip 12462:Mass- (table-) rename parameters in Inventor.


Back   All CAD Tips All CAD tips&tricks



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Simply link AutoCAD LT blocks to Excel table data.
Excellink LT 2006 More info


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist