Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: flofsid on June 06, 2023, 05:46:35 pm

Title: How can I set the Diagram Property "Group Tags by Stereotype" with my Addin?
Post by: flofsid on June 06, 2023, 05:46:35 pm
Hi Guys,

I want to create a Diagram with my C# Addin and set the Diagram Elements Property "Group Tags by Stereotype".
How can I do that?

Thanks for your help  :)

Best regards
Flo
Title: Re: How can I set the Diagram Property "Group Tags by Stereotype" with my Addin?
Post by: Geert Bellekens on June 06, 2023, 06:42:27 pm
This is going to be stored in either the StyleEx or the PDATA field.
Check the database (t_diagram) to figure out where exactly it is stored.

IIRC PDATA is exposed as ExtendedStyle

Then edit the correct field accordingly.

Geert
Title: Re: How can I set the Diagram Property "Group Tags by Stereotype" with my Addin?
Post by: flofsid on June 06, 2023, 09:37:07 pm
Thanks Geert  :)

I found it in StyleEx