Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: solenn on July 02, 2009, 07:31:07 pm

Title: Change Parent Element
Post by: solenn on July 02, 2009, 07:31:07 pm
Hello,

I would like to change the parent of an element.

Do you know how to do that?

Thanks,
Solenn
Title: Re: Change Parent Element
Post by: «Midnight» on July 02, 2009, 10:07:33 pm
Via the API you change the value of ParentID. Be careful that you do not point to a non-existent parent.
Title: Re: Change Parent Element
Post by: solenn on July 02, 2009, 11:29:55 pm
Hello,

I try with ParentID but I don't point to a non-existent parent.
I prefer (if it's possible) to work with the parent and affect to him his child.

Is it possible?

Thanks
Solenn