Book a Demo

Author Topic: Force refresh of the script tree  (Read 3973 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Force refresh of the script tree
« on: May 15, 2018, 08:47:08 pm »
Hi,

I have a script that carries updates in the scripts list. To see the changes, I have to click on the Refresh Script Tree button (Scripting view) or restart the project.
Is there a way to run this via the API, perhaps with the undocumented Repository.CustomCommand  method?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Force refresh of the script tree
« Reply #1 on: May 15, 2018, 10:27:30 pm »
To my knowledge this is not possible.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Force refresh of the script tree
« Reply #2 on: May 16, 2018, 01:56:42 am »
No, I don't know of any way to do that either.

Geert

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Force refresh of the script tree
« Reply #3 on: May 16, 2018, 04:17:24 pm »
I submitted  a feature request for a new method to refresh the script tree.

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com