Author Topic: Access to fully qualified stereotype for Packages  (Read 2226 times)

laney

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Access to fully qualified stereotype for Packages
« 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?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13231
  • Karma: +551/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Access to fully qualified stereotype for Packages
« Reply #1 on: June 08, 2023, 04:04:19 am »
EA.Package.Element.FQStereotype

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Access to fully qualified stereotype for Packages
« Reply #2 on: June 08, 2023, 06:49:21 am »
... have also "FQStereotype" (which has the full, expected value).
so what is your question?

q.

laney

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Access to fully qualified stereotype for Packages
« Reply #3 on: June 10, 2023, 06:34:23 am »
Thanks a lot Geert!
Your suggestion worked beautifully:

Quote
EA.Package.Element.FQStereotype