Book a Demo

Author Topic: Printing connector names in Elements  (Read 4007 times)

DavidM

  • EA User
  • **
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Printing connector names in Elements
« on: August 20, 2016, 05:00:41 pm »
Hi
Does anyone know where the descriptions are for these attributes
http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/displaying_element_properties.html please?

I am trying to see if you can print a connector name in an element via shape script.
Thanks,

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Printing connector names in Elements
« Reply #1 on: August 20, 2016, 08:00:34 pm »
A connector name in an element? That won't work. Shape script has no programming logic, only a very rudimentary if-clause. To do that you will need to call an add-in.

Know that shape scripts are interpreted and add-in calls are even more costly. Having many elements with shape scripts in a diagram will pull down performance noticeably.

q.