Book a Demo

Author Topic: Change component from 'instance' to 'link'  (Read 2237 times)

pxcer

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Change component from 'instance' to 'link'
« on: June 17, 2023, 12:08:18 am »
I have dragged a component from to Project Browser onto the diagram as "instance" (I can choose when dropping it on the sheet, between 'instance', 'link', 'artifact')
Now I want to change it from "instance" to "link" (without deleting it and re-dropping), how can I do this?

And: I can visually see that I dropped it as "instance", because of the ":" in front of the name and the underlined name. But where do I find this information in the tool windows or properties of the element? I think this information must be stored in some kind of property/field...?!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Change component from 'instance' to 'link'
« Reply #1 on: June 17, 2023, 12:10:34 am »
press alt-g to find the instance object. That should make it obvious is not a component, but a component instance.

There is no easy way to go back from intance to link; only the other way around.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Change component from 'instance' to 'link'
« Reply #2 on: June 17, 2023, 06:43:38 pm »
You can not "change" it. Once you created the instance you have the original one and its instance (you find both in the browser). You need to drop the original as link besides and reconnect that with the correct links (so e.g. associations iso. links; but dependency can simply be moved). Then you must hard delete the instance (best from the browser).

q.