Book a Demo

Author Topic: possible bug with EA_OnPreNewDiagramObject  (Read 3037 times)

trickster60

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
possible bug with EA_OnPreNewDiagramObject
« on: December 12, 2011, 10:57:20 pm »
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 actually being returned in debug). Is this a bug ot is there something else I should be doing?  
Back to top  

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: possible bug with EA_OnPreNewDiagramObject
« Reply #1 on: December 12, 2011, 11:58:51 pm »
I hope you know that posting to this forum will only inform the other users that there is a bug, and that you have to actually submit the bug to Sparx?

Geert