Book a Demo

Author Topic: Default element and diagram names in an MDG  (Read 3271 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Default element and diagram names in an MDG
« on: September 21, 2022, 11:35:25 pm »
Not sure if I have asked this before, when developing an MDG is there are a way to change the default names used for elements and diagrams?

All diagrams are named by default using the name of the package. All elements based on a class are by default named Class1, Class2 and so on.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Default element and diagram names in an MDG
« Reply #1 on: September 21, 2022, 11:43:17 pm »
You can't change the default diagram name.

The default element name is the name of the metatype property you define your stereotype.
So it then becomes "myMetatype1", "MyMetatype2", etc..

Geert

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Re: Default element and diagram names in an MDG
« Reply #2 on: September 22, 2022, 02:13:59 am »
Thanks Geert, I'll put a feature request regarding the diagrams.

With regards to element names, I am assuming that you are referring to the Metatype property under General Properties when using the Profile Helper. Is this correct?

Currently, we do not use this property. Can you or anybody think of any gotchas if we started using this property?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Default element and diagram names in an MDG
« Reply #3 on: September 22, 2022, 02:49:49 am »
Yes indeed, no gotchas that I know of.

You need this property filled in if you want the icon to work.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Default element and diagram names in an MDG
« Reply #4 on: September 22, 2022, 06:44:35 pm »
The Counters option dialog should work, but speaking here just from faint memory.

q.