Book a Demo

Author Topic: Get current requirement  (Read 2930 times)

JeHo

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Get current requirement
« on: January 18, 2007, 02:34:22 am »
Hello,,
When I have opened a project.eap there is a design. The design contains requirements and sub requirements.

I numbered the requirements A1, a2.. and the sub requirements as A1.1 A1.2 etc.

when I right-mouse-button-click on the requirement I would like to know what number i used for the requirement.

So I develloped a window in C# with a button called 'Get req id '. The result i wanted to rpint in the same window in a textbox.

I used (Automation interface) the repository.GetCurrentDiagram(); but the diagram name/number/description is NULL

I used also the project interface and used ReloadProject(); This results in an error.

Is it possible to retrieve current req-number.
Which interface must be used?

kind regards JeHo