Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id819819692
Content column
id819819695
Content block
id819830346

On this page

Table of Contents
maxLevel4
minLevel3


Content block
id819819694

You can import a requirement file from a .csv or .xlsx file format after installing an appropriate plugin:

  • CSV Import Plugin allows you to import files using only a .csv file format. It reads values in a comma-separated values (CSV) file and creates model elements, diagrams, and relationships from that data. With this plugin enables you to create models from data stored in spreadsheets, relational databases, or other repositories.
  • Excel Import Plugin allows you to import files using .csv and Microsoft Excel file formats. It is designed to allow you to import data from any Excel (.xls and .xlsx) or CSV (.csv and .txt) format files to MagicDraw and export data from a MagicDraw project into an Excel or a CSV file. The plugin works with MagicDraw version 17.0.5 and later.


Warning

The CSV Import Plugin and Excel Import Plugin must be installed before taking the following actions. How to install plugins >

Importing data using the CSV Import Plugin

To import requirements from a .csv file


  1. Open an existing project or create a new one.
  2. Do one of the following:

    • From the main menu, select File > Import From > Import CSV.
    • Press Ctrl+Shift+C.
  3. Follow the steps in the Import CSV:Setup wizard.

  4. Click Finish when you are done.

Note

Learn how to use the CSV Import Plugin >>


Importing data using Excel Import Plugin

The Excel Import Plugin allows you to import a table heading and data separately. The heading is imported as a mapping class containing heading data as attributes and is used for mapping table data as instance specifications.


To import requirements from a .csv or Microsoft Excel file format


  1. Open an existing project or create a new one.
  2. From the main menu, select File > Import From > Excel/CSV File.
  3. Follow the steps in the Import Data from Excel and Create Mapping wizards.
  4. Click Finish when you are done.


To import a table heading


  1. Open an existing project or create a new one.
  2. Create a new requirement diagram and do one of the following:
    • Use the Import Data from Excel and Create Mapping wizards. See the procedure above.
    • In the file browser, select the file to import and drag it on the diagram pane.


Info

If you already have the table heading imported as a mapping class or have your own created mapping class in your model, you can import data from the Microsoft Excel table using a shortcut menu.


To import data according to mapping


  1. In the Containment tree or on the diagram pane, right-click the mapping class.
  2. In the opened shortcut menu, click Tools > Import Data from Excel.
  3. Follow the steps in the Import Data from Excel wizard.
  4. Click Finish when you are done.

Note



Content block
id819819690

Related pages