Book a Demo

Author Topic: Get DiagramObject by ID  (Read 13806 times)

William McKenzie

  • EA User
  • **
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: Get DiagramObject by ID
« Reply #15 on: July 17, 2012, 01:28:08 am »
I agree with what you are saying. My only comment would be that one has to wonder why they would both going to the effort to create events called EA_OnPreNewDiagramObject, and EA_OnPostNewDiagramObject when are in fact completely useless! Why not just remove them from the API? If diagram changes are not possible in an event handler what could possibly motivate you to create diagram event handlers! :-/

~Bill

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Get DiagramObject by ID
« Reply #16 on: July 17, 2012, 04:39:43 am »
Well, the OnPre seemed to work (didn't test that in detail) and it's only intention is to avoid eventually the creation of objects. So that should be okay. Be the OnPost indeed seems to be completely useless.

q.