How to Link COMSOL Graphics to Microsoft® PowerPoint®
Do you create images with the COMSOL Multiphysics® software for Microsoft® PowerPoint® presentations? If so, you might need to update these images from time to time — meaning you have to create entirely new images and replace them in your presentation. This process can be dull and time consuming, but there is good news: With the COMSOL interface for PowerPoint®, image references can be handled and updated in a flash!
The COMSOL Interface for Microsoft® PowerPoint®
In addition to generating Microsoft® PowerPoint® slideshows from COMSOL Multiphysics® models, the COMSOL interface for PowerPoint® makes it possible to link COMSOL graphics to Microsoft® PowerPoint® presentations.
Once the COMSOL interface for PowerPoint® is installed with the COMSOL installer, it will provide ribbon toolbars to handle and update generated COMSOL Multiphysics® linked images within PowerPoint®. When an image requires an update, whether because of recomputed results in a model, a changed plot title, or the font size needs to be increased after rescaling a picture in a slide, it can be time consuming and require a lot of manual tweaking. However, as of COMSOL Multiphysics version 5.5, there is a much easier and quicker way to carry out these tasks with the ribbon interface.
With the COMSOL interface for PowerPoint®, linked images can be created in the COMSOL Desktop® and inserted into an open PowerPoint® application. A linked image contains a reference to its source model file and feature node, and this reference is stored with the saved PowerPoint® presentation so that the image can be updated on demand, with or without having the COMSOL Multiphysics® window open. With the image reference, the different image view and layout settings are also stored. The view settings can also be stored and locked, or updated to the current view when desired.
Image references can be created from different Model Builder nodes, such as:
- Results plots
The image reference can even contain a reference to the current node in, for example, a mesh or geometry build sequence. These settings, stored with the image references, can be changed, and the image can be updated from within PowerPoint®.
The bookkeeping of the image references is also automatically handled, making it easy to update and keep track of image references in a PowerPoint® presentation, which can contain images from several different COMSOL Multiphysics models. In the past, the bookkeeping of these images could be a very challenging task, especially for more than a few references!
Creating Linked Images in COMSOL Multiphysics®
In order to link an image for PowerPoint® with a reference to the COMSOL Multiphysics model source node, you can generate an image inside the COMSOL Desktop® with PowerPoint set as the Target. The image itself is generated in the same way as an image for Clipboard or File. There are two ways in COMSOL Multiphysics to generate the image:
- Image Snapshot window
- Image export
A linked image is generated for PowerPoint® with the Image Snapshot window, which you can access from the Graphics toolbar by using the PowerPoint option in the Target settings. The current Image and Layout settings will be stored with the generated linked image, but can later be changed and updated within PowerPoint®.
A linked image can also be generated for PowerPoint® via image export by using the PowerPoint® option in the Target settings. The Image and Layout settings will be stored here with the generated linked image, and can also be changed and updated within PowerPoint®.
Inserting Linked Images
Once the image has been created for PowerPoint®, it is available to paste inside the open PowerPoint® application. This can be done a few different ways:
- Using CTRL + V on your keyboard
- Selecting the Paste button
- Selecting the generated image from the Clipboard gallery control, available on the COMSOL ribbon tab inside PowerPoint®
Updating Linked Images from Within PowerPoint®
Once a PowerPoint® presentation contains image references, the references can be edited and updated against the node and model referenced. The COMSOL ribbon tab inside PowerPoint® contains the button Update All Images for updating all referenced images in the presentation, and the Update Image button for updating the selected image references only.
The linked images can be updated, with or without having the referenced model open inside the COMSOL Desktop. If the model is open in the COMSOL Desktop®, the image can be updated in an interactive way by iteratively making changes inside COMSOL Multiphysics® and updating inside PowerPoint®. For example, this can be nifty when finding the right view angle that fits into the design and layout of the PowerPoint® presentation, or trying out several graphics settings until you find the best fit for conveying the results with the presentation.
If an image is updated without the model currently open inside the COMSOL Desktop, the image update will use a COMSOL Multiphysics server. With the default server settings, this will open a local COMSOL Multiphysics server in the background without any additional user interaction, but it can also be customized, for example, to use a remote COMSOL Multiphysics server.
The COMSOL Image ribbon tab is available in PowerPoint® when a linked image is selected. The COMSOL Image tab contains controls for updating, locking, deleting, and changing the referenced model and node in the Main ribbon section. In the Image and Layout sections, the image and layout settings for the image can be changed.
The image reference can also be edited or deleted, and the image can be updated or locked from the COMSOL menu available when a linked image is right-clicked.
With the Edit Reference window, the referenced node or model can be changed for a linked image. The available nodes that can be referenced are shown in the model tree. For geometry and mesh sequences, it is possible to select the current build step and source node as well.
Additional Helpful Commands
Locking Images from Updates
When a linked image has reached the desired state, it can be locked from updates with the Update All Images button. The view (for example, the zoom level and view angle) of a linked image can also be locked and preserved while other image and layout settings are changed and updated.
An image can be locked or unlocked from updates by selecting the image and selecting the Lock Image ribbon button. The view can be locked or unlocked by selecting the image and selecting the Lock view check box, available on the COMSOL Image ribbon tab.
Batch Update PowerPoint® Presentations Using Command Line Tools
Saved PowerPoint® presentation files that contain linked images can be updated without opening the PowerPoint® application, via the command line tool comsolpowerpointbatch.exe. The tool can update single or multiple PowerPoint® presentation files with a single command. The command line tool comsolpowerpointbatch.exe is installed and run from the same install folder as the comsol.exe.
You can display the available arguments for the comsolpowerpointbatch.exe tool by running the command
Quickly Duplicate or Create Additional Linked Images
A fast way to duplicate, create, and edit linked images inside PowerPoint® is to select a linked image and then select the CTRL + C keyboard combination, followed by pressing CTRL + V one or multiple times. In this way, several unique linked image references are created with the same link settings as the copied image, but the link settings for each image can be changed and updated in order to quickly create references to other model nodes or with other image settings.
Multiple Referenced Models and Bookkeeping
The COMSOL tab available on the PowerPoint® File menu contains References, Server, and Preferences tabs for administrating the references contained in the presentation and accessing server settings and interface preferences.
With the References view, the references are book kept, which makes it easy to overview and administrate the references in the PowerPoint® presentation.
- Read more about generating Microsoft® PowerPoint® slideshows from COMSOL Multiphysics® models
- Watch this video on how to create and export animations from COMSOL Multiphysics
Microsoft and PowerPoint are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
- COMSOL Now
- Fluid & Heat
- Structural & Acoustics
- Today in Science