Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: MichaelG on April 09, 2013, 08:57:22 pm
-
Hello,
I like to know how it is possibile to delete a package in an Enterprise Architect model via the C# API.
I already used the search function of the forum and I read the api documentation but I don't find any solution to delete a package.
Is there any way without deleting everything manually by sql statements?
Regards,
Michael
-
Sure, you just need to select its parentPackage and then do:
parentPackage.Packages.DeleteAt(i);
Geert