Thanks Geert,
[1] Thanks I will have a look at the EA navigator.
[2]
Furthermore, to speed up your add-in you can:
- disable GUI updates (flag in EA.Respository)
Will look into it, not sure if it important in my case as the only thing my addin does is traverse the graph of EA objects and creates C#, xml files. It does not at any point update the model.
- cache certain EA object you need more then once
I have already done this and achieved a 41% time saving by caching GetElementById.
- avoid iterating EA.Collections (such as Element.Attributes, Element.Methods)
I depend on these functions to traverse my graph. What would be the best way to avoid them? SQL query?
- use Repository.SQLQuery() to search for the id's of object you need so you can use the Repository.Get...ByID() operations to access the object
Not sure what you mean here, could you please elaborate. Generally if I have to get the parent object I do
repository.GetElementById(element.ParentID)
Are you suggesting the SQL query would help in the above case?
- use the SQL based Repository implementation provided by stao
http://code.google.com/p/ea-sqlapi/I will look into it
thanks