Book a Demo

Author Topic: Merge elements?  (Read 5424 times)

mjmeyer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Merge elements?
« on: January 27, 2004, 11:28:04 am »
Hi all. Hopefully a simple question.

In different analysis packages, I've got 2 elements which are semantic duplicates. That is, we created the same element twice, probably by not checking to see if t already existed.

The problem is the elements have slightly different relationships and attributes.

I need to merge them together and cant find a simple way to do this short of deleting one and recreating the missing links and attributes in the survivor.

Suggestions?

CJ

  • EA User
  • **
  • Posts: 288
  • Karma: +0/-0
    • View Profile
Re: Merge elements?
« Reply #1 on: January 27, 2004, 11:50:10 am »
G'day,

Make sure both elements have different names.  Say the one you want to drop from the project is called X_Element and the other one Y_Element.

Drag attributes for X_Element from the project browser to Y_Element showing in an open diagram.

In each diagram that X_Element appears, put Y_Element as well.  For each relationship to/from X_Element, right-click on the relationship and choose "Set Source and Target ..." (and change X_Element to Y_Element).

Use the relationship matrix (setup a package for only X_Element and Y_Element, compare that package to the entire project) , and/or use the Relationships window to make sure there are no more relationships to/from X_Element before deleting it.

That's the best solution I can think of off the top of the head.




Cheers and best regards.

mjmeyer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Merge elements?
« Reply #2 on: January 27, 2004, 01:28:01 pm »
Not as bad as it sounds. Thanks for the tips!

The Relationships window along with the "locate related object" & "place target on diagram" feature really made it easy.

I used a scratch diagram to gather up all the elements that the relationships pointed to, then changed the source & targets as needed.

Pretty cool.