Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Bebert on June 24, 2014, 11:12:02 pm

Title: [resolve]How to change  the element type
Post by: Bebert on June 24, 2014, 11:12:02 pm
Hi,
For example, I created a pakaging compoment and  now I want to change this into a compoment without breaking all links.

Thank's
Title: Re: How to change  the element type
Post by: Geert Bellekens on June 24, 2014, 11:19:42 pm
Changing the type of an element can be done by selecting the element in a diagram and then using the menu
Element|Advanced|Change type...

Just beware that you cannot change from/to each element type.
Packaging Component may be one of those unsupported element types.

Geert
Title: Re: How to change  the element type
Post by: qwerty on June 24, 2014, 11:25:01 pm
The problem here is that a Packaging Component is rather package than an element. You will need to do that tediously either the manual or (with probably the same programming effort) the scripting way.

q.
Title: Re: [resolve]How to change  the element type
Post by: Bebert on June 24, 2014, 11:51:47 pm
Thank's
That's what I thought.
Now It's time for the tedious job ;)
Title: Re: [resolve]How to change  the element type
Post by: Bebert on June 30, 2014, 10:31:59 pm
Hi
I've found a solution to switch for a composite to a element or reverse.
Just clik right on the élement and select advanced >composite.
It's done.