Book a Demo

Author Topic: getting all diagrams including a specific element  (Read 3112 times)

rainstar79

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
getting all diagrams including a specific element
« on: September 15, 2006, 06:10:03 am »
Hi guys,
I wrote an Add-In for managing business process definitions in C# and I have the following problem:

If I have the Element ID of a certain EA.Element, is there a way to figure out all diagrams where the element is included.
I am looking for a method like the following:

element.getDiagramsIncludingthisElemnt();
or
repository.getdiagramsIncludingelement(elementID);

is there anything similar, which solves my problem would be great!!!!
...or is the only workaround to retrieve all diagrams rekursively in the model and look, if the element is in each diagram :-(
Thanks for your help!!!
cheers

thomaskilian

  • Guest
Re: getting all diagrams including a specific elem
« Reply #1 on: September 18, 2006, 04:19:15 am »
I remember this has been asked before (CTRL-U for automation), but I'm afraid your workaround is the only way. :-/