Author Topic: Publish Model Package: Use Diagram names  (Read 4815 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1352
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Publish Model Package: Use Diagram names
« 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
« Last Edit: March 09, 2023, 06:07:49 pm by Guillaume »
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Publish Model Package: Use Diagram names
« Reply #1 on: March 09, 2023, 09:01:45 am »
I would run a small Python script to do the renaming.

q.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1352
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Publish Model Package: Use Diagram names
« Reply #2 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.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com