Author Topic: Changing [default] directions in associations  (Read 4281 times)

Ignacio G. T.

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Changing [default] directions in associations
« on: February 08, 2013, 11:47:24 pm »
I'm drawing a big deployment diagram and I'm tired to change every communication path's direction from the default (Source -> Destination) to what I usually need (Bi-Directional) or what I could stand (Unspecified).

1) Is there a simple way to change the default direction of communication paths (or associations in general)?

2) If not, is there a simple way to "batch-change" all the associations / communication-paths to a specific direction?

Thanks.

qwerty

  • EA Guru
  • *****
  • Posts: 13379
  • Karma: +387/-299
  • I'm no guru at all
    • View Profile
Re: Changing [default] directions in associations
« Reply #1 on: February 09, 2013, 12:13:53 am »
A batch change is possible, but it depends. If the model is empty except for the "wrong" directed associations and their elements you can execute a SQL:
Code: [Select]
UPDATE t_connector SET Direction = "Destination -> Source". If the elements are in a certain package you can construct a WHERE clause that identifies the elements and thus the relevant connectors.

q.
« Last Edit: February 09, 2013, 12:15:07 am by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12654
  • Karma: +523/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing [default] directions in associations
« Reply #2 on: February 11, 2013, 07:39:53 pm »
There an default setting for associations  in Tools|Options|Links|General|Association default = source --> target

Geert

Ignacio G. T.

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: Changing [default] directions in associations
« Reply #3 on: February 12, 2013, 04:52:00 am »
Thanks, Geert. But the option you mention does not affect the communication paths. In fact, I had that option un-marked. :-(

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12654
  • Karma: +523/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing [default] directions in associations
« Reply #4 on: February 12, 2013, 05:02:20 am »
Too bad, I guess an communication path is not an association.

Geert

adama

  • EA User
  • **
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Changing [default] directions in associations
« Reply #5 on: July 09, 2020, 05:36:58 am »
Many moons gone by. Anybody know where Tools|Options|Links|General|Association default is in the ribbon?

qwerty

  • EA Guru
  • *****
  • Posts: 13379
  • Karma: +387/-299
  • I'm no guru at all
    • View Profile
Re: Changing [default] directions in associations
« Reply #6 on: July 09, 2020, 07:05:39 am »
Which ribbon? 13.5, 14 or 15?

Desperately you can try the search option. Sometimes it finds what you are looking for.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7907
  • Karma: +109/-20
    • View Profile
Re: Changing [default] directions in associations
« Reply #7 on: July 09, 2020, 08:41:28 am »
Unfortunately the ribbon search only detects items directly within the ribbon.

The user preferences, which is where this option is found can be accessed from:

Start > Desktop > Preferences

Once there, the option is at:

Links > Association default = source -> target