Book a Demo

Author Topic: How to copy diagrams between project files?  (Read 12868 times)

jj3

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
How to copy diagrams between project files?
« on: January 12, 2009, 10:12:27 pm »
To copy diagrams inside project it is clear - just copy&paste.
But how to export and import diagrams between two document versions, both containing the same diagrams but one of them needs to be updated (because of parallel versions has been made).
I thought it is just package XMI export and import but them it gives me error package already exist even when I change its name...

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: How to copy diagrams between project files?
« Reply #1 on: January 12, 2009, 11:35:46 pm »
I suggest to refrain from creating duplicates of diagrams to show different progress states/versions.

That will sooner or later lead to misunderstandings, confusion and higher maintenance efforts.
There are some major issues associated with this approach- in most cases you are not modifying the diagram itself but the elements inside (change notes, add scenarios, add interfaces, etc.) so changes have implications on the model, not only the diagrams. It will be hard to efficiently synchronise the changes across all changes.

If we talk about versioning I highly recommend to use baselining or version control.
Baselining might serve you better here as you can import and export those as well as synchronise with your model.

For both approaches there is good documentation available on the Sparx web site, see the resource link.
Also if we talk about parallel modelling there are various options available which are described in the Sparx deployment white paper.
One of those will fit your needs.

Oliver

jj3

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: How to copy diagrams between project files?
« Reply #2 on: January 13, 2009, 12:42:32 am »
It is not approach to work like that without version control. It just happened and parallel version exists. It is not an issue how to avoid this but technical problem how to fix it by coping diagrams.

If there exists export/import function of packages in EA I want to use it but as I wrote it gives me an error.

Lars H

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: How to copy diagrams between project files?
« Reply #3 on: January 13, 2009, 03:05:04 am »
Try to select Strip GUID's in the Import dialog.

jj3

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: How to copy diagrams between project files?
« Reply #4 on: January 13, 2009, 07:40:51 pm »
So easy ... thanks, I missed it.