Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: PeteC on December 12, 2022, 10:07:31 pm

Title: Synchronize stereotype not available for hidden toolbox items
Post by: PeteC on December 12, 2022, 10:07:31 pm
I have a set of similar element stereotypes that offer the choice to the user of which one to use when dropped onto a diagram using the ishidden attribute to create a hidden sub-menu from the toolbox. I have now changed the definition of those stereotypes to add a new tagged value. Right-clicking on the toolbox item does not offer the usual "Synchronize stereotype" option. There is no toolbox on which the stereotypes of those tools are available individually.

So how can a user update their model to have the new stereotype applied when new elements are created? The only instructions I can find refer to right click on a profiled element in the toolbox, as I've tried.
Title: Re: Synchronize stereotype not available for hidden toolbox items
Post by: qwerty on December 12, 2022, 10:09:06 pm
You probably should state your EA version.

q.
Title: Re: Synchronize stereotype not available for hidden toolbox items
Post by: Geert Bellekens on December 12, 2022, 10:38:47 pm
since v15 you can also see all (and synchronize) stereotypes in the resources tab under your MDG.
Otherwise you can use a script: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Framework/Tools/UML%20Profile/Synchronize%20Steretoypes.vbs (https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Framework/Tools/UML%20Profile/Synchronize%20Steretoypes.vbs)

Geert