Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: laney on June 08, 2023, 03:18:34 am
-
Hi,
I'm accessing EA via COM Automation Interface from a Python script.
When using EA's UI - almost any item visible in "Project Browser" can be given a stereotype, including "Packages", and that stereotype is shown in a full form (fully qualified name) in the "Properties" view.
The problem I have is that I don't know how to access that full stereotype name (fully qualified name) for "Packages". There's only "StereotypeEx" property available via COM. All other elements - apart from "StereotypeEx" have also "FQStereotype" (which has the full, expected value).
Any ideas?
-
EA.Package.Element.FQStereotype
Geert
-
... have also "FQStereotype" (which has the full, expected value).
so what is your question?
q.
-
Thanks a lot Geert!
Your suggestion worked beautifully:
EA.Package.Element.FQStereotype