Author Topic: Simulate save (ctrl s) in Addin  (Read 576 times)

tzafrir

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Simulate save (ctrl s) in Addin
« on: January 01, 2018, 06:04:06 pm »
Hi,

Is there an API that simulates save (ctrl s) for example diagram saving,
that I can call during a run of Addin?
(for example will save the diagram in case not saved and then start the APP)


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8032
  • Karma: +183/-22
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Simulate save (ctrl s) in Addin
« Reply #1 on: January 01, 2018, 06:36:29 pm »
The documentation does have a search function you know. :o
Have you tried anything? Like searching for "SaveDiagram"
Or did you just think it was easier if someone else did the searching for you?

Geert

tzafrir

  • EA User
  • **
  • Posts: 105
  • Karma: +0/-0
    • View Profile
Re: Simulate save (ctrl s) in Addin
« Reply #2 on: January 01, 2018, 07:29:12 pm »
Yes,
Tried the refresh APIs, none of the worked.

Missed that one  ;)