Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: blue5teel on January 20, 2009, 12:30:07 am
-
Hello,
are there any commands in the automation interface to copy or move elments from one package to another?
thx in advance
-
Try setting the PackageID of the element to that of the (new) target package. Note that this is different than setting the ParentID property. They are right next to each other in the documentation, so it is easy to miss either one.
-
Thx, this works for me :)
But is it even possible to COPY elements, diagrams and packages ?
The solution above just moves objects the objects between packages.