Archi Forum

Archi => General Archi Discussion => Topic started by: abcoates on August 22, 2017, 18:17:24 PM

Title: Archi utility needs testing
Post by: abcoates on August 22, 2017, 18:17:24 PM
Hi.  I've written a couple of Python utility scripts for:

It doesn't round-trip per se, but I hope it is useful for:

It hasn't had much testing yet, so if you would like to test it, I would be grateful for any feedback.

https://github.com/abcoates/archi-xml-excel-converter

Thanks in advance for any help with this.  Cheers, Tony.
Title: Re: Archi utility needs testing
Post by: MarcF88 on August 23, 2017, 08:13:38 AM
Without looking at the utility, just asking: is this very different from 'File -> Export -> Model to CSV'?

Regards,
Marc
Title: Re: Archi utility needs testing
Post by: abcoates on August 23, 2017, 19:05:57 PM
Oh, good question!  An honest answer is that, because I have more of an XML background, I had been working with XML import/export and so had been thinking of the problem in terms of those files, without checking what other import/functions existed in Archi.  I think I had noticed that CSV import seemed greyed out, but I realise now that's only because you need to create an empty model before you can do a CSV import.

So the only advantage of my approach, I guess, is that it allows you to have the information in a single Excel file rather than 3 separate CSV files.  That may or not not be more convenient for you, depending on your situation.