Book a Demo

Author Topic: MDG - Shapescript link with the diagram Show Compartments properties  (Read 2399 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1387
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Hello,

I have a custom MDG with stereotyped ArchiMate elements.
I need to show on a diagram the tagged values within a stereotyped ArchiMate Application component. This is unfortunately disabled with ArchiMate.
I guess that it could be addressed with a ShapeScript, however I only want to have these tagged values rendered when the diagram's Show Compartments "Tag" property is enabled.
Is there an option in the ShapeScripts to do that? Ideally it would be best if the Tagged Values compartment support could be added to the native Archimate MDG

Thanks


Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG - Shapescript link with the diagram Show Compartments properties
« Reply #1 on: January 28, 2021, 01:16:50 am »
I haven't found an option to query that "show tags" property.

I guess the only workaround would be an add-in call (the usual performance warnings apply)


Geert

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1387
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG - Shapescript link with the diagram Show Compartments properties
« Reply #2 on: January 28, 2021, 01:34:56 am »
Thanks for your reply Geert.
I decided to define a stereotyped UML Component by not extending the Archimate App Component stereotype.
Even if I don't find it ideal, it works and seems to be the only easy way round

Guillaume
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com