Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Eamonn John Casey on September 21, 2017, 09:17:10 pm
-
If anyone wants it, I have been working on a wrapper for EA API in C#.
includes functions like:
EA.Element GetElementByName(int packageID, string elementName, string stereoType)
EA.Connector FindorCreateConnector(string fromElementGUID, string toElementGUID, string connectorDirection, string connectorStereoType)
EA.Element FindOrCreateElement(Package rootPackage, string elementName, string stereoType)
Package FindOrCreatePackage(Package parent, String packageToFind, String packageType)
List<EAQueryResults.EAConnector.Row> GetConnectorsByGuid(String fromGuid)
-
Maybe a good idea to publish it as open source software at github or similar?
I did so with my framework: https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework (https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework)
Geert
-
You should be consistent in naming operations: FindorCreateConnector
q.
-
You should be consistent in naming operations: FindorCreateConnector
q.
You don't understand. Its Findor who creates the connector. Findor is a Japanese manga character ;D
Geert
-
Thanks.
Posted here: https://github.com/EamonnJCasey/Sparx-Enterprise-Architect-Wrapper