Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: utkarsh on May 06, 2008, 09:34:47 pm
-
Hi,
Is searching Design Item in a repositiry is possible through EA API in code?
I do not want to search it manually by iterating over each element of the package.
Thanks in advance.
-
Design Item?
However, the API does not offer much in that respect. Go, write a SQL :-/
-
Probably the easiest way to do this is to define a search and tell EA to run it using Repository.GetElementsByQuery.
If the search needs to be executed on multiple computers export the search and add it to EA using Repository.AddDefinedSearches.
-
Thanks :)