Book a Demo

Author Topic: Copying in Sparx  (Read 3268 times)

Peter Bull

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Copying in Sparx
« on: March 11, 2009, 11:10:10 pm »
Hi

I have created a deployment node containing components (one component contains other components).

How can I copy the node (including components and their dependencies) to another package in the same model?  I need an almost identically configured DR node and also the same node in other environments and do not wish to re-create it manually.

Regards

Pete

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Copying in Sparx
« Reply #1 on: March 11, 2009, 11:47:02 pm »
The only way I know is to export to xmi and then import with the option "Strip GUID"

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Copying in Sparx
« Reply #2 on: March 12, 2009, 11:45:04 am »
Apart from using XMI, elements selected in a diagram can Copied & Pasted as "New", but this will not include the conectors.
If it is used frequently you migh like to look at using a UML Pattern - see:
http://www.sparxsystems.com/uml_tool_guide/what_is_uml_modeling/umlpatterns.html

Peter Bull

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Copying in Sparx
« Reply #3 on: March 14, 2009, 12:43:46 am »
Thanks chaps.

I copied by export/import of the entire package (I wanted to retain relationships) and will probably use patterns for another project I am working on.

Pete