Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Fantasy.Fan on April 30, 2024, 04:38:20 pm
-
Does Enterprise Architect's XML export function export all the contents of the folder where the current content is located, along with the selected content? How can I avoid this and only export the selected file and its referenced content?
-
Xml export exports the full contents of the package you select.
It doesn't contain content of the other packages.
So if you show an element from another package on your diagram, and you export the package. Then the export will only contain a placeholder for the element from other package.
There is no magic way to export a package and all the external referenced content.
You can either export the whole model, or make sure you know exactly where the referenced elements are, and export those packages as well.
Geert
-
I may have expressed myself incorrectly. For instance, when I export a diagram, currently it seems to export the entire folder where the diagram is located, but I only want to export the diagram itself.
-
Export is package based, not diagram based.
If you want to only export what is on the diagram, then you'll have to put everything on that diagram in a single package.
Geert
-
Or, as Geert put it once: UML is not about diagramming.
q.
-
Of course, thank you very much.