Enterprise Architect version 13.5

download
purchase

enzh-CNcsnlfrdehiiditkoplptruskessv

My Profile

Social Media Channels

facebook google plus twitter youtube linkedin

Sunday, 27 January 2013 15:32

Usage of an element at your finger tip

Written by 

Find Usage of an Element

The issue:

You have an element in

  • Browser
  • Diagram
  • Search Window

and you want to see where this element is used.

 

The solution:

  1. Right click on the Element (Browser, Diagram, Search Window)
  2. Scripts, Element Usage
  3. EA lists the usage of the element in the Search Window

Example Find usage of an enumeration

 

Which usages are detected?

  • class, instance, object, part
  •  type in attribute, operation
  •  usage in diagram
  • operation to Sequence, Behavior, Call Action
  • etc.

 

Which repositories are supported?

  • *.eap
  • Oracle
  • SQL Server

 

Installation:

  1. Copy hoTools.xml into ...\Sparx System\EA\MDG\Technology
  2. Open Scripting View (either in View or in Tools)
  3. Create New Scripting Groups of type: Project Browser, Diagram, Model Search
  4. Create in each group a VB Script (New VB Script) and name it “Element usage” or so
  5. Copy the Script in each group (Copy and Past the content of the existing "Find Usage" Script

 The Scripting View with the Scripts Groups and the Scripts (Copy+Paste)

 

Installation:

Read 3724 times Last modified on Tuesday, 09 April 2013 04:09
Rate this item
(0 votes)
Helmut Ortmann

Helmut Ortmann

Freelancer (Consultant)
 
I'm a German freelancer in the area of Enterprise Architects and software/system engineering. A large part is embedded and Functional Safety with EA. But not only...
 
According to Albert Einsteins aphorism "Make things as simple as possible, but not simpler” I like to smoothen work with Addins and an easy to use EA Tool integration in a complex development environment. Another step in my opinium are lively workshops to get an enjoyable and long lasting launch of the daily EA work.
 
Well, of course that’s not all and you have therefore good reasons to contact me. See you….
 
See my hoTools WiKi at GitHub.

Website: www.hoModeler.de

1 comment

  • Comment Link natvig Thursday, 28 November 2013 07:38 posted by natvig

    Great scrip, easy to install and use. Unfortunately, most of our models are deployed in a MySQL environment. Any chance of an updated script that works with MySQL?

Login to post comments