Book a Demo

Author Topic: What's the quickest way to export all diagram images (PNG) in a project at once?  (Read 6595 times)

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
I would like to export all diagrams as PNGs in one go and store them in a folder so I can upload them to our confluence attachments all at once. How could I do this? I see there is an XMI export with a checkbox for "export images", but I don't need to do an XMI export right now. I just want the PNGs.

steen.jensen

  • EA User
  • **
  • Posts: 181
  • Karma: +8/-1
    • View Profile
I usully do an Diagram Report. Then I populate SharePoint or PowerPoint with those diagram I just want at the time

ea0522

  • EA User
  • **
  • Posts: 134
  • Karma: +5/-0
    • View Profile
You could do a HTML export which also generates all images.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
There is also an option to export xmi with diagram images IIRC.

The advantage over the html export is that it generates them with a predictable name (using the guid)

Geert

Elpis

  • EA User
  • **
  • Posts: 64
  • Karma: +7/-0
  • Make MDA/MBSE vital.
    • View Profile
Another solution, if you are somehow familiar with code developing:
In a script or a model add-in, make a call to
Repository.GetProjectInterface().GetAllDiagramImagesAndMap( string Directory ) 

(see documentation on https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/project_2.html )