Book a Demo

Author Topic: navigation from Element Type InteractionOccurreces  (Read 4970 times)

QuarksUndCo

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • Think easy
    • View Profile
navigation from Element Type InteractionOccurreces
« on: May 29, 2012, 08:50:25 am »
hi group,
how can i navigate from a reference frame defined in an use case diagram to the interaction diagram. The reference frame is of type "InteractionOccurences" and the interaction diagram is of type "sequence".

thanks all
Wolfgang

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: navigation from Element Type InteractionOccurr
« Reply #1 on: May 30, 2012, 05:48:09 pm »
Wolfgang,

There must be a reference to the diagram ID somewhere in the elements's attributes.
The easiest approach is to go via the database: Open t_object, look for the element you are working on and check all columns for something that could be a diagram ID

Geert

QuarksUndCo

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • Think easy
    • View Profile
Re: navigation from Element Type InteractionOccurr
« Reply #2 on: May 31, 2012, 05:41:05 am »
Geert, thanks for your hint. In the meantime I got an answer from the support team. For all who are interested in, here is the solution:
EA.Diagram diagram;
diagram = oRepository.GetDiagramByID(int.Parse(oUsecaseRef.get_MiscData(0)));

Thanks to all
wolfgang