Free SAP PowerDesigner Resources

Useful additions for PowerDesigner users.

WordPress does not allow us to upload ‘vbs’ or ‘xem’ files, so all resources are uploaded as Word documents. You must copy the content to a text file with the appropriate file name extension (*.vbs, *.xem, etc) before you can use it.

Here’s how to do it:

Open the Word document and save it as a plain text file

Close the file in Word, then change the file type from ‘txt‘ to ‘xem‘ or ‘vbs‘, etc.

Model Extensions

Save each extension in a separate file (ensure the file type is *.xem). Once you have saved the file, you can attach it to an existing PowerDesigner model via the ‘Extensions’ option in the ‘Model’ menu.

All Diagrams (any type of model)

The All Diagrams model extension adds extra options to the contextual menus for Diagrams and Diagram Symbols.

Hiding and Showing Diagram ContentShow or Hide Link Symbols
Remove graphical synonyms or shortcut symbols from a diagram
Show all symbols on a diagram
Using DiagramsStraighten a link symbol by removing all the corners
A simplified way of changing page size and orientation
Scripting SupportOutput the Display Preferences to the Output window.
Diagram Info for PDM

Creates a new type of object called ‘Diagram Info’, which allows you to include a description of the diagram on the printed page. This is necessary because PowerDesigner doesn’t provide any way of showing the diagram description property on the diagram. To create a ‘Diagram Info’ object, use the ‘Diagram Info for PDM’ palette in the tool box. You can also create them via the Model menu, or right-clicking the model in the browser, selecting New, and selecting Diagram Info.

CDM Custom Entity symbol

This model extension provides a simple example of the use of stereotypes to define specialisations of objects. It defines a special type of CDM Entity called ‘Cube’, with its own tool in the toolbox, and an extra form in the property sheet to hold the Unit of Measure and side length of the Cube. This extension can only be attached to a Conceptual Data Model.


Save each script in a separate file (ensure the file type is *.vbs). Once you have saved the file, you can run it in PowerDesigner via the ‘Execute Commands’ option in the ‘Tools’ menu.

Most scripts will run against the Active Model, which is the model that owns the Active Diagram. In the example below, there are three diagrams open in the canvas, each one owned by a different model. The Active Diagram is called ‘PDM’, as indicated by the bold font in the tab.

Create Entities & Attributes from Glossary content

This script will read all the Categories and Terms in the active Glossary and create Entities and Attributes in the active model. The script will only work for Conceptual and Logical Data Models with Barker notation.

User Profiles

MM – PD Web colours – CDM and LDM

When you install the SAP PowerDesigner client software you can choose which colour schemes to apply to your diagrams. You have a choice of a ‘Cold Theme’ (mostly blues and purples) and a ‘Hot Theme’ (a mix of orange and brown, reminds me of Rational Rose in the ’90s). If you create models in a web browser using the more recent PowerDesigner Web software, the colours are different. Most people I’ve spoken to about this prefer the new colours in PowerDesigner Web, so I’ve created a User Profile that I can apply in the PowerDesigner client to make my models look like those created in PowerDesigner Web.

Watch this video to see how much difference this makes.

Leave a Reply