Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Guillaume on November 11, 2021, 02:19:21 am
-
Hi,
I use a similar script to the one published by Geert to call the stereotype sync method on all stereotyped elements and connectors: 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).
I noticed that it doesn't update enumeration tagged values for stereotyped connectors:
- with the initial version of the MDG, I create a stereotyped connector and select the enum value from 1,2,3
- I update the MDG (new enum list of values: 1,2,3,4,5)
- The drop down list is no longer available on the existing connector's tagged value (sync needed).
- I run the script: nothing happens
- I manually synchronize it from the toolbox: it works.
-
Hi Guillaume, this may be because of a unique design decision made by the Sparxians.
Check t_objecpropertiess for those tags that have the changed enum. You should the original enum values are set in the Notes field. "Nuke" the notes field and the enum should return OK.
We nuke ALL such "annotations", they seem spurious to us.
HTH,
Paolo