Book a Demo

Author Topic: Shape script to display associated elemet names  (Read 2743 times)

dstueven

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Shape script to display associated elemet names
« on: December 04, 2018, 08:33:44 pm »
Hi all,
I look for some help regarding a shape script I need to write:
I have elements representing an interface on logical level. They are connected to other elements which are the source and target of the interface needed. I used associations to build these connections in my model.
No I would like to have a custom shape script that will show the names of the connected Elements in the central interface element.
I did some shape scripting in the past but it is unclear to me how to achieve this ... can somebody please help me? Ideally with some example code?
Thanks for helping me!
Dirk

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Shape script to display associated elemet names
« Reply #1 on: December 05, 2018, 05:25:15 am »
See the Related Elements below in https://sparxsystems.com/enterprise_architect_user_guide/13.5/modeling_tools/add_custom_compartments_to_ele.html
It's a bit of a PITA to get this to work (it always takes me at least half an hour to figure it out when I'm forced to use it).

q.