Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Jim Donnelly IATA on May 20, 2015, 05:42:26 pm

Title: Where am I in my model
Post by: Jim Donnelly IATA 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
Title: Re: Where am I in my model
Post by: Geert Bellekens on May 20, 2015, 07:09:58 pm
Jim,

See this topic: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1367578086/3#3

Geert