Book a Demo

Author Topic: copy diagram from a project to another project  (Read 9071 times)

pinnacle_man

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
copy diagram from a project to another project
« on: September 20, 2002, 08:25:02 am »
hi
could someone please tell me, "Is that possible to copy a diagram (with links) from one EA project and paste in another project?
or
how i can use Import/Export option?

Thank you
Pinnacle_man

jaimeglz

  • EA User
  • **
  • Posts: 164
  • Karma: +0/-0
    • View Profile
Re: copy diagram from a project to another project
« Reply #1 on: September 20, 2002, 09:59:57 am »
Hi Pinnacle_Man.

It is quite easy to export a diagram to another EA project, but keep in mind that there are potential conflicts with object and package names in your source and target projects. To avoid these conflicts:

1. In your source project, create a new package. Place your diagram there, as well as all the objects contained in your diagram (drag and drop them with your mouse).

2. Make a backup of your target project (just in case..).

3. In your target project, check to see if there are any objects that have the same name as your source objects. Change the names, as needed.

Just keep in mind that the "root" level of your project is a namespace, where duplicate names are not allowed.

Once you have taken your precautions, you can right click in the source package, choose Import/Export --> Export Package to XML, and fill-in the dialog. Since you are exporting to another EA project, the default options will work fine.

Once the XMI file is created, right-click in the package or view in your target project where you want your new package to appear (the "parent" of your new package). Use Import/Export --> Import Package

Keep us posted in case you run into any problems.

Jaime Gonzalez
« Last Edit: September 20, 2002, 10:01:48 am by jaimeglz »

pinnacle_man

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: copy diagram from a project to another project
« Reply #2 on: September 23, 2002, 03:44:41 am »
Thank you, it works