Button lost in CommandBar each restart (2010)

Button lost in CommandBar each restart (2010)

C-Hoppen
Advocate Advocate
332 Views
1 Reply
Message 1 of 2

Button lost in CommandBar each restart (2010)

C-Hoppen
Advocate
Advocate

Does anyone remember Command Bars? Cat Wink In former times (Inventor 2010) User could define his own Command Bars.

I wrote an AddIn which defines a Command Bar containing one Button. Works fine. Now I define my own Command Bar, by Tools > Customize, and move the button from AddIn's Comman Bar to user-defined Command-Bar. Each time I restart Inventor the Button from user-defined Commandbar gets lost.

Is this an Inventor issue or is something wrong with my AddIn?

Christoph

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

C-Hoppen
Advocate
Advocate

Here some pictures to give a more detailed explaination:

 

User defined Toolbar in Registry:

 

User defined Commandbar in Registry

 

While loading Inventor BEFORE entering the Activation Method of my AddIn. There are two place holders.

 

Before entering the Activate Method.jpg

 

The button doesn't appear when entering the Activation Method:

 

When in Activate Method.jpg

 

Inventor doesn't know about the button because it is defined in the Activation Method. A timing Problem? What happend to the place holder?

0 Likes