Book a Demo

Author Topic: [resolve]How to change  the element type  (Read 5692 times)

Bebert

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
[resolve]How to change  the element type
« 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
« Last Edit: June 24, 2014, 11:49:06 pm by bbonnefoy »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13505
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to change  the element type
« Reply #1 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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to change  the element type
« Reply #2 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.

Bebert

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: [resolve]How to change  the element type
« Reply #3 on: June 24, 2014, 11:51:47 pm »
Thank's
That's what I thought.
Now It's time for the tedious job ;)

Bebert

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: [resolve]How to change  the element type
« Reply #4 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.