Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: The apprentice on October 04, 2018, 11:16:48 pm

Title: Component's ports
Post by: The apprentice on October 04, 2018, 11:16:48 pm
Hi

I can create components :

Code: [Select]
EA.Element item =  (EA.Element)currentPackage.Elements.AddNew("cmp1", "Component");

but i don't know how to add ports onto this component. I can't add ports in the current package without component.

How can I ?

Edit : resolved

ty