Book a Demo

Author Topic: Update style in all charts with a script?  (Read 2920 times)

game

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Update style in all charts with a script?
« on: January 18, 2019, 08:08:52 pm »
Hello,

I created a template package (small profile) and created objects like "Use Case", "Requierments" and so on.

I've configured these objects to match my expectations with the style. I would like to have them updated via a script in all diagrams so that the style is consistent.

Can someone here call me the script code?

many Greetings

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Update style in all charts with a script?
« Reply #1 on: January 18, 2019, 10:10:13 pm »
That is entirely possible, but not trivial.

I doubt if anyone has a read-made script to do that.

If you are looking for inspiration, I have all my scripts shared on github: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library

Geert

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: Update style in all charts with a script?
« Reply #2 on: February 08, 2019, 05:43:18 am »
If you created a profile, is not better to apply that profile to previously created elements? if less than 50, you can do it manually, but drag&drop from Toolbox while pressing Ctrl, over the old elements.