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

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    9253×  
applies to: Inventor 2013 · Inventor 2012 ·

See also:
Tip 12520:How to set Inventor Display style and Lighting style from an iLogic macro?
Tip 12462:Mass- (table-) rename parameters in Inventor.
Tip 12451:How to fill a material or appearance name into part's iProperties?
Tip 12392:Export unfolds of sheetmetal parts to DXF - parameters for iLogic and VBA
Tip 12136:Security settings for Inventor data files and add-on applications.


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:
Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools 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