Book a Demo

Author Topic: Changing many relationships in bulk...  (Read 3658 times)

inferjack2022

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Changing many relationships in bulk...
« on: April 19, 2022, 08:07:22 pm »
Hi,

does anybody know how to change properties (e.g. direction, type) of many relationships in the model in one fell swoop? Changing one connector is easy, but changing 200 one by one is a big pain in the neck :(

Many thanks in advance!
« Last Edit: April 19, 2022, 08:47:28 pm by inferjack2022 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing many relationships in bulk...
« Reply #1 on: April 19, 2022, 11:04:44 pm »
There is a relationships docked window that can make things a bit easier, but otherwise you'll have to write a script.

Geert

inferjack2022

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Changing many relationships in bulk...
« Reply #2 on: April 20, 2022, 11:47:44 pm »
Thank you very much! This is what I have expected - scripting  ??? Where can I find user friendly tutorial or webinar on this?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing many relationships in bulk...
« Reply #3 on: April 21, 2022, 03:08:20 am »
Thank you very much! This is what I have expected - scripting  ??? Where can I find user friendly tutorial or webinar on this?

Here's a very basic intro into scripting: https://sparxsystems.com/resources/webinar/partners/scripting/scripting-introduction-bellekens.html
If you need sample scripts, see here: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Changing many relationships in bulk...
« Reply #4 on: April 21, 2022, 05:56:03 pm »
Since you asked: you might have a look into my Scripting book.

q.

inferjack2022

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Changing many relationships in bulk...
« Reply #5 on: April 22, 2022, 02:47:13 am »
Since you asked: you might have a look into my Scripting book.

q.

It would be great! Where can I acquire it?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Changing many relationships in bulk...
« Reply #6 on: April 22, 2022, 07:20:18 pm »
Just click on my ad below or look at https://liquit.biz/brain/books.html if it does not show for you.

q.