Customize User Commands - Create Icon

Customize User Commands - Create Icon

karthur1
Mentor Mentor
2,408 Views
9 Replies
Message 1 of 10

Customize User Commands - Create Icon

karthur1
Mentor
Mentor

I have a little macro that I have placed in my Custom Menu.  How do I make this have its own icon rather than the default infinity icon?

 

Thanks,

Kirk

 

custom_menu.png

0 Likes
Accepted solutions (1)
2,409 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
you kan disign your one icon in the menu of de bare organiser
0 Likes
Message 3 of 10

karthur1
Mentor
Mentor

where do I find the organizer?

0 Likes
Message 4 of 10

jtylerbc
Mentor
Mentor

I'm not sure what erik is referring to, but here is how I know of to do it:

 

  1. Create your icon in whatever drawing program you want (.bmp format).  There are small and large icon sizes you can use - I believe small is 16x16 and large is 32x32.
  2. Name the file in the format:  Module name.Sub Name.Size.bmp.  Example:  CreatePartsListLocByStandard.CreatePartsList.Small.bmp
  3. Put the icon file in the same folder with your .ivb file.
  4. If Inventor was open while you did all this, restart it. Your icon should show up.

 

 

0 Likes
Message 5 of 10

karthur1
Mentor
Mentor

Is there a way to extract one of the "Standard" Inventor icons?  I would like to start with one and modify it for my needs?

 

Nevermind... I found a search tool.

 

I have created an icon and named it the same as the module name, but it still does not show up.  Still have the smae infinity symbol.

 

Kirk

0 Likes
Message 6 of 10

jtylerbc
Mentor
Mentor
Accepted solution

Module name, sub name, and icon size are all in the name? The format is very specific, so if the order isn't right or the names are even 1 character different, it won't work.

Message 7 of 10

karthur1
Mentor
Mentor

Thansk John !!!!   It works when you get the format correct...duh.Smiley Tongue

 

For anyone else that tries to do this, Here is how the name has to be formatted.

 

Custom_IVB_001.png

Message 8 of 10

jtylerbc
Mentor
Mentor

Yes, it's quite unforgiving.  That's exactly the format I was trying to explain, but the picture makes it much more clear.

0 Likes
Message 9 of 10

Rob_Froeling
Enthusiast
Enthusiast

Please share how you found the standard icons?

0 Likes
Message 10 of 10

karthur1
Mentor
Mentor

You will need to extract the icon from .exe or .dll file.  Google search for an icon viewer.  There are many out there.