Book a Demo

Author Topic: v15.2 – What order do the stereotypes in the profile get generated?  (Read 2742 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
The MDG generation process generates a set of defined stereotypes from a profile diagram.  What order do the stereotypes in the profile get generated? It appears to be t_diagramobjects.Sequence.  Can anyone confirm?  If so, then we can script the desired order.

Reported,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8108
  • Karma: +119/-20
    • View Profile
Re: v15.2 – What order do the stereotypes in the profile get generated?
« Reply #1 on: September 18, 2020, 02:30:18 pm »
Yes. It's that field in the database. It can be configured in the UI by changing the z-order.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v15.2 – What order do the stereotypes in the profile get generated?
« Reply #2 on: September 29, 2020, 03:40:16 pm »
Yes. It's that field in the database. It can be configured in the UI by changing the z-order.
Just to complete the topic, the stereotypes are actually emitted in REVERSE z-order!   ::)  That is, the higher the Sequence value, the closer to the start of the file!  Took me a while to reverse all the special order I created assuming (stupid idiot, this IS EA!  :o) that it would be emitted in ascending Sequence value.[1]

Hope this helps someone.

Paolo

[1] I did it via direct queries, not by hand, so I didn't waste too much time!
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!