User command buttons not displayed correctly

User command buttons not displayed correctly

Anonymous
Not applicable
294 Views
1 Reply
Message 1 of 2

User command buttons not displayed correctly

Anonymous
Not applicable

I have an issue with User Commands losing their icon and text.

 

So i have a tab and some buttons for my custom addin. I add som of these buttons to another tab, for example in the sketch tab in drawing as User Commands. They work and look just fine in the current session. The problem is that the next time i start Inventor i lose the icon and text of these User Commands but the event/function works just as intended when i click them.

 

Has anyone else had this problem? Is there any way to "refresh/reload" all tabs or just the user commands so i get icon and text back?

 

 

What it looks like in the session when i added the user commands (A1,A2,A3)

Ok.png

 

 

What it looks like the next time i startup inventor

NotOk.png

 

Developed for Inventor 2016 in C#

 

// Anders

 

0 Likes
295 Views
1 Reply
Reply (1)
Message 2 of 2

Boorda
Advocate
Advocate

I've actually had this same problem with Inventors own icons, so I would assume its nothing that you are doing. When you are adding your control definitions to the ribbon what method are you using? I actually create my own tab and panels an have not had this issue. It seems to only happen under the User Commands panel which is where I think the control defs get added if you use the their built in add to UI method.


Automation is key!
0 Likes