Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Guillaume on March 09, 2023, 02:58:01 am

Title: Publish Model Package: Use Diagram names
Post by: Guillaume on March 09, 2023, 02:58:01 am
Hi,

I need to export a large number of diagram images. Generating a document using a simple template (diagram image only) fails with a MemAlloc error using EA 15.1 (it seems to work with EA16.1 64 bits).
So I used the Publish Model Package (Publish > Model Exchange > Export > Other format) by enabling Export Diagram + Generate Diagram Images.
It works but all files are named after the GUID (EAID_<GUID>.png).
It would be useful to have an option to name the files after the diagram and with a prefix matching the position in the package (and generate folders for each package)

Thanks
Guillaume
Title: Re: Publish Model Package: Use Diagram names
Post by: qwerty on March 09, 2023, 09:01:45 am
I would run a small Python script to do the renaming.

q.
Title: Re: Publish Model Package: Use Diagram names
Post by: Guillaume on March 09, 2023, 06:09:09 pm
Yes, it's definitely feasible with a script (I'll give it a try), whilst it could be handy to have it built-in in EA.