Book a Demo

Author Topic: EA_OnPreNewDiagramObject problem  (Read 3343 times)

trickster60

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
EA_OnPreNewDiagramObject problem
« on: December 11, 2011, 09:17:31 am »
I am running EA 9.1 and am trying to create an Add-In where in part I want to control what can be placed on a specific diagram type.

I thought that the EA_OnPreNewDiagramObject callback would be the go.  My understanding is returning false from this callback would prevent the object in question from appearing in the diagram, however when my implementation returns "false" the obejct in question appears anyway (I have checked false is actially being returned in debug). Is there something else I should be doing?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA_OnPreNewDiagramObject problem
« Reply #1 on: December 12, 2011, 07:25:33 pm »
Quote
Is there something else I should be doing?

Report a bug I guess  :-/

Geert