Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: GpePerez on September 21, 2010, 02:33:13 am
-
Hi,
How can I export/Import a diagram with screen and classes?
I just tried to do it,but when I import the file i just got the screen
and the classes were missing...
:(
-
1) What options did you set in the Export Package to XMI dialog?
2) Do the classes--along with the diagram--reside in the package you exported?
-
What is export diagram at all? I just know export package to XMI.
b.
-
1) What options did you set in the Export Package to XMI dialog?
Format XMI Output
Export Diagrams
export Alternate Images
Enable full EA Roundtrip
XMI type:XMI2.1
2) Do the classes--along with the diagram--reside in the package you exported?
Yes, they are in the same diagram.
-
What is export diagram at all? I just know export package to XMI.
b.
Yes, you`re rigth.
I mean export package with a diagram that contains a screen and some clases.
-
1) What options did you set in the Export Package to XMI dialog?
Format XMI Output
Export Diagrams
export Alternate Images
Enable full EA Roundtrip
XMI type:XMI2.1
2) Do the classes--along with the diagram--reside in the package you exported?
Yes, they are in the same diagram.
GpePerez,
Please note that Paul has actually asked if they are in the same package, not the same diagram.
You have to understand that xmi importing/exporting works on packages only.
The fact that something is displayed on a diagram in your package doesn't mean it gets exported.
Only the elements (and diagrams) owned by your package (and recursively its subpackages) will be exported.
Geert
-
I'm encountering a similar problem with exporting diagrams from DBMS and importing to an EAP file. After the import, some of the messages from the sequence diagrams are missing. Should I be exporting additional diagrams/classes? :-?
-
Additional packages.
Geert
-
Thanks for the immediate reply! How do I figure out what packages the messages from the sequence diagram are located under? When I performed the export, I thought I exported the entire packages.
-
Rose,
You'll need to look for all elements (and classifiers) used on your sequence diagrams.
Also make sure you include all superclasses of those classifiers as they might contain the operation definition.
In case you are exporting/importing different xmi files also make sure to import them in the correct order according to the package dependencies.
Sometimes it helps to import them twice.
Geert