Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: jplusip on August 12, 2016, 11:53:20 pm

Title: CSV import for classes w/ attributes and operations?
Post by: jplusip on August 12, 2016, 11:53:20 pm
Is there a way for me to import a spreadsheet and have the import process create classes with attributes and operations?

My initial thought was that I might be able to use the same CSV file to import the classes and attributes (using Preserve Hierarchy for the attributes), but I'm not sure what the type for attribute would be. Not sure what to do with the operations since they would have arguments.
Title: Re: CSV import for classes w/ attributes and operations?
Post by: Geert Bellekens on August 13, 2016, 12:02:48 am
Not with the standard CSV import, but you can use my Excel Importer (https://bellekens.com/2015/10/24/simple-vba-excel-to-ea-importer-v4/) to import attributes

Rodrigo has published a variant of this excel that imports operations as well. You should be able to find that with google I think.

Geert
Title: Re: CSV import for classes w/ attributes and operations?
Post by: jplusip on August 19, 2016, 12:14:31 am
Thanks Geert!