Book a Demo

Author Topic: DiagramObject change  (Read 4423 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
DiagramObject change
« on: June 13, 2013, 05:57:15 pm »
Hi all,

is there any way to get notified when an element in diagram is moved to another position (=diagramObject change) ?

Thanks in advance!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: DiagramObject change
« Reply #1 on: June 13, 2013, 06:39:48 pm »
I guess no, since EA does not store the diagram data until you save the diagram.

q.

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: DiagramObject change
« Reply #2 on: June 14, 2013, 03:12:09 pm »
Maybe check the Automation function: EA_OnContextItemChanged & EA_OnNotifyContextItemModified


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: DiagramObject change
« Reply #3 on: June 14, 2013, 03:26:49 pm »
I'm afraid that won't do you any good since you can only know about a move of a diagramObject once the diagram has been saved.

And since there is no OnPostSaveDiagram...

Geert