Monday, 14 October 2013 05:21

Enterprise Architect to PowerPoint Export Tool

Written by
Rate this item
(4 votes)

Purpose:

Many colleagues do not use MBSE tools and are much more happy reviewing PowerPoint slides. Additionally, sometimes diagrams can be forgotten about through the course of modeling different system aspects and can be affected by changes in element attributes. This tool allows you to quickly export Enterprise Architect diagrams to a PowerPoint artifact for review.

 

Description:

The tool is integrated into a base macro-enabled PowerPoint artifact, including a series of visual basic functions to perform the export, while utilizing Geert Bellekens EA Connect model from his Simple VBA Excel to EA Importer. There were minor edits made to his module to extend it to retrieve diagrams in a recursive manner, including those that are nested underneath elements. Some minor functions that did not exist were added as well.

The tool provides a custom ribbon where all options and functions needed can be executed without directly executing the macros.

DOWNLOAD: EA to PowerPoint Exporter

 

Functions:

  • ExportEAPackage - One of the two primary functions. This function exports all diagrams that are beneath the selected package in the containment tree.
  • ExportEAPowerpointDocument - The second of the two primary functions. This exports a diagram that contains an ordered set of diagram frames as a "virtual" PowerPoint artifact. This function relies on the user to order the diagram frames from top to bottom in the way they want them to appear in PowerPoint. The script uses the location of the top of each frame to determine the order.
  • ImportImagetoPPT - This function is used by both main functions to actually take an already saved diagram, load it into PowerPoint, then scale it to best fit into the available space. It additionally will save the notes for the diagram and all elements within a diagram into the PowerPoint slide notes.
  • FormatNotes/StripHTML - This function formats the entire note to go into the PowerPoint slide notes from all of the individual note components that are associated with the diagram. This includes handling elements without notes or notes that have html formatting.

 

Instructions (included within tool):

Package Export

Package Export

 

"Virtual" PowerPoint Export

Virtual PowerPoint Export

 

 

Options Setup

Options in Sparx EA Ribbon

 

Potential Issues:

  • Temp Folder - If you receive a temp folder error, make sure you create a folder named "Temp" in your user directory.
  • Diagram Names - I have tried to handle strange diagram names that would mess up the image path, but this is something that could be an issue.
  • Ribbon Not Showing - If the ribbon does not show then make sure you have enabled macros within PowerPoint options. If you computer is locked down by your employer, then the ribbon may not show up. In that case you can add the "Developer" tab to access the Visual Basic editor. At that point you can remove the iRibbonControl argument to the functions you want to run, then you can use them in the normal way through the macro menu.
Read 16434 times Last modified on Tuesday, 15 October 2013 02:03
Nicholas Lee Roth

Systems/Development Engineer at the Missile Defense Agency

2 comments

  • Comment Link Guillaume Tuesday, 29 March 2022 13:40 posted by Guillaume

    This is a very simple to use and working tool, even almost 10 years after this article was published.
    I had a request from a user to produce a Powerpoint with all diagrams from a package branch and it worked :)
    Thanks.

  • Comment Link Jörg Schorning Tuesday, 08 March 2016 10:20 posted by Jörg Schorning

    I found this export function to Powerpoint. As an Enterprise Architect I often communicate with managers and CIO's. I notice that archimate diagrams are not readable by business people. So I want to make them easier to read. Status up to now is that I managed to use the clipboard to import powerpoint figures e.g. to create a porter arrow of business processes that will be recognized by business managers. Next step is to use EA as a point of truth regarding these diagrams and powerpoint presentations. Up to now I didn't manage to get the export/import function working The EA ribbon I can't find. Powerpoint allows macros. the related excel macro, mentioned above of Geert Bellekens, works perfect.
    Cab anyone help me out here?

Login to post comments