Book a Demo

Author Topic: How to get direct dependencies only?  (Read 2943 times)

ufechner

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
How to get direct dependencies only?
« on: November 07, 2007, 07:56:37 am »
Hello,

I need to get the direct dependencies of requirements using the COM interface.

With the method calls:
GetRelationSet(rsDependStart) and
GetRelationSet(rsDependEnd)

I get a comma separated list of dependencies, but the indirect dependencies are all included.
How can I test, if these dependencies are direct or
indirect?

I am writing a report generator, that creates LaTex code from the requirements in the EA model. Our manager wants to see the direct dependencies in the report only.

In EA in the hierarchy view this works fine, if you set the hierarchy depth to two (in Options -> General). But how can I reach this goal using automation?

Any hint appreciated.

Regards:

Uwe Fechner