Message 1 of 13
Inventor Toolbar Add-in?

Not applicable
06-22-2004
10:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I created a toolbar with a few custom macros in VBA. The macros work fine on my computer. I then learned that to get the macros to load on other computers, I needed to create an add-in. I got a seat in VB, created the add-in, loaded the add-in, and it loaded! There it is! However, the buttons don't work anymore. They're there on the screen, but when they are clicked, nothing happens. I looked into the help files, and read this:
"Autodesk Inventor API Limitation: The ButtonDefinition object is currently not available publicly through the API. Currently, it can only be obtained from its associated ButtonDefinitionHandler, which is only available to the Add-In that created it. As a result, you cannot place Inventor or other Add-In commands on toolbars using the API."
Wh-wh-what?!!!
Does this mean that I cannot create custom commands in a toolbar with add-ins? What's up? Please help me!
"Autodesk Inventor API Limitation: The ButtonDefinition object is currently not available publicly through the API. Currently, it can only be obtained from its associated ButtonDefinitionHandler, which is only available to the Add-In that created it. As a result, you cannot place Inventor or other Add-In commands on toolbars using the API."
Wh-wh-what?!!!
Does this mean that I cannot create custom commands in a toolbar with add-ins? What's up? Please help me!