Book a Demo

Author Topic: Copy from one project to another  (Read 6164 times)

proy

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Copy from one project to another
« on: August 09, 2008, 04:37:29 am »
I'm new to EA so bear with me.
2 Questions

1) Why can't you copy items within a diagram of one project to a diagram within another project?
I realize that you can Export and Import an entire diagram, but in this case I only need several items.  I really hate to re-enter every item one at a time!  Seems like double work!

I've noticed that you can copy within the same project with "Paste as new object".  Why can't I do this to another project?

2) Whats up with the delete.  When I delete an item within a diagram it does not delete that item in Project Broser - double work! Again.
Thanks,
PR

JohnDoe

  • EA User
  • **
  • Posts: 191
  • Karma: +0/-0
  • EA rocks !
    • View Profile
Re: Copy from one project to another
« Reply #1 on: August 09, 2008, 06:28:45 am »
>>> When I delete an item within a diagram it does not delete that
>>> item in Project Broser - double work! Again.

The project browser is the singleton of an element. You can use this element in as much diagrams as you want. If you want to delete the element on all diagrams, simply delete the element in the project browser.

Greetings
John

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Copy from one project to another
« Reply #2 on: August 11, 2008, 08:44:34 am »
Point 1 - you can.

Select the element on the diagram and select the Element | Add to project clipboard menu option. Switch to the other project and diagram, and select the Edit | Paste Elements | Paste Element from Clipboard menu option. The element is pasted in within a frame, which you can attach connectors to.
Best Regards, Roy

sldev

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Copy from one project to another
« Reply #3 on: August 25, 2008, 10:58:28 pm »
Quote
Point 1 - you can.

Select the element on the diagram and select the Element | Add to project clipboard menu option. Switch to the other project and diagram, and select the Edit | Paste Elements | Paste Element from Clipboard menu option. The element is pasted in within a frame, which you can attach connectors to.

What about copying the elements and the connectors? I can't seem to be able to select both at the same time. Curiously, I can select one (and only one) connector, and then any number of elements. This is not very helpful, as there are about as many connectors as there are elements!

« Last Edit: August 25, 2008, 10:58:51 pm by sldev »

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Copy from one project to another
« Reply #4 on: September 01, 2008, 10:00:08 am »
Select the elements and connectors you want (the standard click-hold-drag box), copy them to an empty diagram, and save the diagram as a Pattern (an xml file). In the Resources window of your second project, import the pattern, and then add it to whatever diagrams you want. This puts all the captured elements and connectors into the new diagram.

Best Regards, Roy

sldev

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Copy from one project to another
« Reply #5 on: September 03, 2008, 03:32:18 pm »
For purposes of copying elements plus connectors within the same project, this only seems to work when you Paste as a Link (not as an New).  Is this correct?

Also, this seems to be the case for copying and pasting between different projects, even if, in this case, it doesn't matter since you will delete the temporary diagram once you've saved the .xml file. Is this also correct?

If I'm correct, then I wonder if there are plans to implement a new type of Paste operation to handle cases like this.