Author Topic: Where am I in my model  (Read 2183 times)

Jim Donnelly IATA

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Where am I in my model
« on: May 20, 2015, 05:42:26 pm »
Hi

We have a structured model based on a framework. I would like to write a VBScript so that when an element is selected I can get hold of that element's location in the model. i.e.

ElementLocation = MyModel/Package1/Package21/Package31

Is there a quick bit of code to do this, such as GetPath or GetLocation?

Thanks
Jim
« Last Edit: May 20, 2015, 05:49:17 pm by anaXaIATA »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Where am I in my model
« Reply #1 on: May 20, 2015, 07:09:58 pm »