Book a Demo

Author Topic: size of stereotyped element  (Read 3075 times)

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
size of stereotyped element
« on: March 11, 2021, 07:27:41 pm »
By applying a stereotype from my profile, the regarding element gets colored correctly as specified in the profile.
That stereotype is defined to create certain tags for that element, which increases its size on the diagram in the profile model.

Unfortunately EA uses that size for the initial size when I drag such a stereotyped element to a diagram in the applying model.

Is it anyhow possible to define an initial size for a stereotype independend from the size that shows up in the profile diagram according to the number of attributes/tag fields the stereotype shall expose?
Rolf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: size of stereotyped element
« Reply #1 on: March 11, 2021, 07:54:04 pm »
On the Export UML profile dialog there is a checkbox for Element Size

Uncheck that and you are good.
You can also define the default size in a shapescript (DefSize(75,25);), and there is a a Size X and Size Y property that you can edit using the profile helper.

I'm not sure in what order these defaults size definitions are used

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: size of stereotyped element
« Reply #2 on: March 11, 2021, 08:17:14 pm »
I'm not sure in what order these defaults size definitions are used
Functions after constant assignments which must come first in code.

q.