Inventor Customization

Reply
Distinguished Contributor
ladimirabdala
Posts: 278
Registered: ‎04-27-2006
Message 1 of 12 (910 Views)
Accepted Solution

Show a Icon on a macro Button not works in Inventor 2011

910 Views, 11 Replies
04-10-2012 09:58 AM

Hello guys,

 

I'm tried put a cutomized image in my macro button, but I can't.

 

In the same location of my default DVB file, I put the file .BMP:

 

ModuleName.FunctionName.Size.BMP

 

In this case:

Module1.CAD.Large.BMP

or

Module1.CAD.Small.BMP

 

Please, look the attached file and see with your eyes, if I'm doing something wrong.

 

Thank you!!!



Employee
yuhanzhang
Posts: 411
Registered: ‎01-06-2009
Message 2 of 12 (892 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-12-2012 08:42 PM in reply to: ladimirabdala

Can you double check below info:

1. You created the small icon with 16X6 and large icon with 32X32 pixels size? Other sizes may not work for Inventor macros.

2. You have to re-launch Inventor after placing the icons, so Inventor can associate them with macros.

 

Brian posted an article for this, please refer to:

http://modthemachine.typepad.com/my_weblog/2008/11/creating-buttons-for-vba-macros.html

 

Hope this helps.



Rocky Zhang
Inventor API
Manufacturing Solutions
Autodesk, Inc.

Distinguished Contributor
ladimirabdala
Posts: 278
Registered: ‎04-27-2006
Message 3 of 12 (883 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-13-2012 04:45 AM in reply to: ladimirabdala

Thanks Rocky,

 

I have read all this article in Mod the Machine.:smileyhappy:

Step by step again.:smileyhappy:

 

I made new Icons, one of them, Large and other Small.:smileyhappy:

Start and Re-start Inventor.:smileyhappy:

But the Icon in the Button appears the same every time. Like a Visual Studio Symbol. :smileyfrustrated:

 

I Attached the two Icons for you see.

 

Any ideias or concerns will be welcome.:smileywink:

 

Thanks. 

Distinguished Contributor
ladimirabdala
Posts: 278
Registered: ‎04-27-2006
Message 4 of 12 (872 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-13-2012 10:57 AM in reply to: yuhanzhang

Dear Rocky,

 

Just re-start the Inventor not works. But when I re-start the machine, the Icon appears as well.

 

 

Thank you!!!  :smileyvery-happy:

 

 

Distinguished Contributor
rschader
Posts: 249
Registered: ‎12-15-2003
Message 5 of 12 (705 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

03-11-2013 08:32 AM in reply to: ladimirabdala

I'm having a similar problem in IV2013. My macro button images USED to work in 2012. Now, when I try to set one of the buttons to the large image, I get an orange colored "@" symbol instead. I tried re-scaling the large icon bitmaps to 32x32 (used to be 24x24?), Rebooting, etc. Does anyone know what this "@" symbol is supposedly telling me?

Valued Mentor
jcneal
Posts: 322
Registered: ‎04-10-2010
Message 6 of 12 (672 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-16-2013 07:48 PM in reply to: ladimirabdala

come on! autodesk THIS IS A BUG!!! NEVER FIX IT! IT IS AUTODESK INVENTOR 2014!! NO FIX!!!

Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2013
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2013
Visual Studio Express 2010
Employee
yuhanzhang
Posts: 411
Registered: ‎01-06-2009
Message 7 of 12 (663 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-16-2013 11:41 PM in reply to: jcneal

This is a known issue to us  that large icon for a VBA macro could not be displayed on ribbon, but it is not addressed in Inventor 2014 yet, sorry for that. Please provide 1463005 to us to check the status of the issue, or report this to ADN to ask a hotfix if possible.



Rocky Zhang
Inventor API
Manufacturing Solutions
Autodesk, Inc.

Employee
yuhanzhang
Posts: 411
Registered: ‎01-06-2009
Message 8 of 12 (659 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-17-2013 12:19 AM in reply to: rschader

Yes the large icon is 32x32 now, you can find the document from(Add a macro to a User defined panel on the ribbon):

 

http://wikihelp.autodesk.com/Inventor/enu/2013/Help/1310-Autodesk1310/1364-Fundamen1364/1365-User_In...

 

Unfortunately there is a defect for VBA macro large icon and was reported to us, you can provide 1463005 to check its status to us. The small icon still works for VBA macro. The "@" icon is a general icon when the user defined icon could not be loaded.



Rocky Zhang
Inventor API
Manufacturing Solutions
Autodesk, Inc.

Distinguished Contributor
rschader
Posts: 249
Registered: ‎12-15-2003
Message 9 of 12 (650 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

04-17-2013 03:31 PM in reply to: yuhanzhang

I t worked fine in 2012!

Valued Contributor
ACEDeSmedt
Posts: 79
Registered: ‎11-30-2008
Message 10 of 12 (419 Views)

Re: Show a Icon on a macro Button not works in Inventor 2011

09-19-2013 03:03 AM in reply to: yuhanzhang

Is there any status report on this bug (1463005)

Where can I request a status report for this bug?

If this is the solution, push the solution button :smileywink: (and maybe some kudos)
______________________________________________________
Autodesk Product Design Suit - Ultimate edition (Subscription)
Windows 7 (64bit) 12 Gb RAM - 2x Intel Xeon E5430

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube