Skip to content

Tag: Sparx

Enterprise Architect 0

[HOWTO] Create Model Document using Sparx Enterprise Architect API

This blog post is about how to create model documents by using the Sparx Enterprise Architect (EA) API. Model documents are part of EA Virtual Documents and are modeled as child elements of report packages. Therefore the creation of model documents described hereafter requires an existing report package. Of course, report packages can also be created using the Sparx EA […]

Enterprise Architect 0

[Bug] Sparx Enterprise Architect v14.1 Build 1429 not triggering EA_OnPostCloseDiagram event in context of Time Aware Modelling

When cloning a structure in Sparx Enterprise Architect (EA) as a new version, that contains at least one diagram, every newly created diagram (clone) gets quickly opened and closed again during cloning process. In EA v14.1 build 1429 the EA_OnPostOpenDiagram events can be caught successfully however the EA_OnPostCloseDiagram are not thrown by EA in this case. I figured this out […]

C#/.NET 0

[NoBrainer] Simplifying and Speeding Up Testing in Sparx Enterprise Architect

Today’s post will be rather quick. I will show you how a unit/integration test class that can interact with real model data in Sparx Enterprise Architect. Beyond the well known Interop.EA assembly there is another assembly called SparxSystems.Repository that provides the intersting feature to connect to a running EA instance: Services.GetRepository(). We can use this to write unit/integration tests that […]