Author Topic: how can i get Toolname and Projectname?  (Read 2704 times)

burkut

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
how can i get Toolname and Projectname?
« on: November 10, 2009, 09:01:59 pm »
hallo,

i am working with an Automation Interface in C#. So i want to get Project name that was currently opened. if it is possible i want to get the fully toolname of Enterprise Architekt in my Programmcode.

can anybody help me, how i can get these informations?

thank you very much.


Burkut

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13283
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: how can i get Toolname and Projectname?
« Reply #1 on: November 10, 2009, 09:17:47 pm »
Hi,

I'm not entirely sure what you need, but I think the
Repository.ConnectionString, Repository.Models and Repository.EAEdition might be helpful.

Geert

burkut

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: how can i get Toolname and Projectname?
« Reply #2 on: November 10, 2009, 11:05:57 pm »
Quote
Hi,

I'm not entirely sure what you need

Geert

I need:

1. The Projectname that was opened by User in EA currently
2. Reall Toolname of EA. I need it in my Code. I want that EA tells me what is its name?

cheers

Burkut

burkut

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: how can i get Toolname and Projectname?
« Reply #3 on: November 11, 2009, 02:07:14 am »
Quote
Hi,

I'm not entirely sure what you need, but I think the
Repository.ConnectionString, Repository.Models and Repository.EAEdition might be helpful.

Geert

Yes, i can get Projectname by Repository.ConnectionString, that is correctly what i want to.

now is the Problem with Toolname of EA?

thank you.