Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ADucci on August 17, 2012, 10:17:22 pm

Title: Import of many objects in a structure
Post by: ADucci on August 17, 2012, 10:17:22 pm
Hi.. I am trying to import a Hierarchy of Classes into EA.. i have looked at the XMI import and that would work if i could generate the XMI structure, however all i have is a Spreadsheet with data as follows:
-car (attributes)
   -door (attributes)
      -handle (attributes)
      -lock (attributes)
   -engine (attributes)
      -starter (attributes)
      ...
I tried the CSV import, and that works, however i would like to have the class hierarchy defined by the import also...
any ideas?
Title: Re: Import of many objects in a structure
Post by: Paulus on August 17, 2012, 10:31:58 pm
take a look at the CVS importer  by Geert Bellekens on the community site:
http://community.sparxsystems.com/resources/scripts/simple-vba-excel-ea-importer
Title: Re: Import of many objects in a structure
Post by: Geert Bellekens on August 17, 2012, 11:39:25 pm
You'll still need to tweak the code a bit to get it to do exactly what you need.

A (little) bit more info can be found on my blog:
http://geertbellekens.wordpress.com/2012/07/15/simple-vba-excel-to-ea-importer-v2/

Geert