Book a Demo

Author Topic: How to substitute one component for another?  (Read 5083 times)

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
How to substitute one component for another?
« on: May 16, 2014, 08:44:24 am »
Hi, I'd like to take a model and substitue one component for another so that all connectors to the original component now go to the new component. Basically, all integrations that used to go to the old, now integrate to the new.

Any ideas?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to substitute one component for another?
« Reply #1 on: May 16, 2014, 04:02:45 pm »
Create a temp diagram.
Place both elements on it.
For the old invoke Insert Related Elements.
Auto layout.
Move all connectors over to the new element.
Use Ctrl-U for the old element.
For each diagram replace the old with the new one.
For classified elements replace the classifier.
Remove the temp diagram.
------

The only thing you can't find out easily is where the element is used as classifier in attributes and operations. You would need to write a query to find and replace them.

q.