In the .AddIn file there is an entry
UserInterfaceVersion
but I have only been able to find two explanations, identical, and which to my three neurons is pure gobbledeegook.
"Specifies the version of the user interface of the add-in. Incrementing this version results in all of the addin’s UI getting cleaned up during Inventor start-up."
Getting cleaned up?
And what are valid values?
My poor brain....
UserInterfaceVersion is an integer number (0,1,2,3,...)
If you change it then UI of your AddIn will be completely regenerated from scratch by your Activate method.
Cheers,
So you mean that the numbers are the addin writer's version numbers?
So that if an addin has a new "version of the gui", incrementing that number tells Inventor to regenerate the addin's part of the ribbon?
I, the addin writer, choose the number, and presumably Inventor looks for increments in the number.
I know I've said the same thing three different ways, but I do have only three neurons!
>> So that if an addin has a new "version of the gui", incrementing that number tells Inventor to regenerate the addin's part of the ribbon?
You may assign arbitrary integer value (and of course you may interpret it as the gui version number). If it differs from the previous then Inventor consider the situation as the very first start of your addin and regenerates addin's UI in ribbon from scratch.
Cheers,