Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No customicon to vba macro button

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
b.graaf
1011 Views, 2 Replies

No customicon to vba macro button

I have made an iLogic rule and through the VBA editor I have attached it to a button in the Inventor ribbon.

It does work, so if I hit the button, the iLogic rule is fired.

 

But I do not succeed in getting my own icon to the button. Inthe past, I have tried it several times, but till today with no success....

 

I am trying this with Inventor 2020, but in the past i have tried it with other versions as well...

 

My module name: Export

The Macro name: Export3

icon names:

   Export.Export3.Small.bmp (= 16x16 bmp)

   Export.Export3.Large.bmp (=32x32 bmp)

 

These bmp files have been saved in:

C:\Users\Public\Documents\Autodesk\Inventor 2020\Macros

 

This is the same folder as defined for the location of the default vba project.

 

Pleas see also attached images.

 

2 REPLIES 2
Message 2 of 3
b.graaf
in reply to: b.graaf

Well, for some strange reasons it has beensolved.... I only resavewd one of the images and now they appear....

 

It seems this picture was corrupt in some way.

Message 3 of 3
sam
Advocate
in reply to: b.graaf

@b.graaf Thank you. This was really helpful. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report