Create Buttons in RIBBON for many .ivb files

Create Buttons in RIBBON for many .ivb files

murugasubi
Enthusiast Enthusiast
794 Views
4 Replies
Message 1 of 5

Create Buttons in RIBBON for many .ivb files

murugasubi
Enthusiast
Enthusiast

Hi, 

I have many VB macros (.ivb) for inventor projects. I want to add buttons for all the macros in RIBBON. The default.ivb allowing me to add only one macro file(default.ivb only). I want to add 10 Buttons in ribbon for 10 different VB macros,. How to load and run many .ivb files. 

Its impossible to club all the .ivb files to single ivb file (default.ivb). Please advice.

 

In the customize user command window, default.ivb macro file procedure only coming. 

 

Thanks

Murugan

0 Likes
Accepted solutions (1)
795 Views
4 Replies
Replies (4)
Message 2 of 5

DeptaM
Enthusiast
Enthusiast
0 Likes
Message 3 of 5

murugasubi
Enthusiast
Enthusiast

Hi, Thanks for your Reply..

 

Actually, I want to create buttons for VBA macros (.ivb). I tried with button constructor, it's asking to load external ilogic rule files only.. Now allowing to load (*.IVB) files.

 

Thanks

Murugan

 

 

0 Likes
Message 4 of 5

JelteDeJong
Mentor
Mentor
Accepted solution

I created the addin "Button constructor". Initially, I planned to add support for VBA. But this is what Autodesk writes about VBA:

"For security reasons, the Microsoft VBA module is not included in the Inventor installer. It has a dependency on the Visual Studio 2010 (VC10) runtime, which Microsoft will not support after July 2020."

and

"As an alternative to VBA, consider using Inventor’s iLogic capability. It provides access to the Inventor API using VB.NET."

That sounds to me like the end of VBA and not something that I should put any effort in. Maybe it's for you also a reason to reconsider using VBA

 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

Message 5 of 5

murugasubi
Enthusiast
Enthusiast

Oh... it's ok. Actually,  I am also trying to do all using ilogic.  Thank you JelteDeJong.

0 Likes