Importing XMI

You can migrate your works done in another software to Agilian through XMI, provided that the software supports XMI. In this chapter, you will see how to import an XMI file.

Importing XMI to current project

  1. Select File > Import > XMI... from the main menu.
  2. Specify the file path of the XMI to import, and configure the import if necessary.
  3. Click OK button.
    NOTE: All changes made in project will be overwritten by data in XMI. For example, if class Foo is renamed to Bar. By importing an XMI exported before renaming class, Bar will be renamed to Foo.

An overview of Import XMI window

An overview of Import XMI window
An overview of Import XMI window
No.Name Description
 1 File path
The file path of the XMI file to import.
 2 Import Comment as Note (for XMI 2.1 only)
Determines whether to import comment as documentation, or as note of model.
 3 Auto Layout after imported Determines whether to run a layout on diagram after import. Note that running layout may takes time for a massive amount of diagram data.
 4 Suppress Super Stereotype Determines whether to ignore super stereotype when importing.
 5 Matching The importing of XMI is a procedure to merge the data in XMI into the opening project. The matching option is to determine how to match between data in XMI and the opening project during export, and to perform changes accordingly.
Description of Import XMI dialog box

Importing XMI to project with command line interface

  1. Start the command console.
  2. Change directory to %AG_Installation_Dir%\scripts.
  3. Execute ImportXMI with the parameters required (e.g. ImportXMI -project C:\MyProjects\sample.vpp -file C:\myproject.xmi). Here are the available parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -file The filepath of the XMI file to import C:\Demo\input\sample.xmi
    Parameters for ImportXMI

Related Resources

The following resources may help you learn more about the topic discussed in this page.

 
1. Exporting XMI Table of Contents Chapter 5. Importing Visio drawing
 

Technical Support

Have technical issues or suggestions? Please contact Visual Paradigm Support Team.

Sales Support

Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.

Discussion Forum

Share your suggestions of opinions at VP Discussion Forum.