Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: meeert on October 18, 2022, 01:35:09 am
-
Hello,
I'm looking for a way to fetch every available stereotype for each available objecttype, but I can't find it.
The Objecttype data I can collect from t_objecttypes, which doesn't seem to be complete on its own.. However what I'm looking for is the stereotypes associated with the objecttype.
The goal is to create 2 dropdowns
Dropdown 1 - with every objecttype
Dropdown 2 - with available stereotypes for chosen objecttype
Something similar to the Auto Naming configuration would be the best.
Kind regards
-
I'm afraid you won't be able to get that information.
A part of it can be found in the t_stereotypes table, but the largest part will be stored in MDG's. They can be found in the model, in separate xml files, or even in binary files int the installation directory.
Even if you succeed in parsing all xml MDG's you probably won't be able to read the binary ones.
Geert
-
That's unfortunate. Thanks bud.