Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Thomas Arnbjerg on February 08, 2024, 11:40:41 pm

Title: UML profiles, changes and existing elements.
Post by: Thomas Arnbjerg on February 08, 2024, 11:40:41 pm
I've created a UML profile, which extends the attributes normally associated with are requirement.

After creating a number of requirements with stereotype from the profile and assigning values to these custom attributes, I've added an attribute to the profile and re-imported it. The new attribute does not appear on existing requirements. Is there a way to have existing elements with the stereotype 're-apply' the stereotype to include this new attribute without deleting existing values?

Title: Re: UML profiles, changes and existing elements.
Post by: Thomas Arnbjerg on February 08, 2024, 11:53:09 pm
Found it. In the tool box for the profile there is a way to synchronize a stereotype.
Title: Re: UML profiles, changes and existing elements.
Post by: Geert Bellekens on February 09, 2024, 12:08:10 am
Yes, you can also execute that from the resources section (or using a script )

Geert