OLE Automation (or Visual Basic for Applications) is a way to communicate with PowerDesigner from another application using the COM architecture in the same application or in other applications. You can write a program using any language that support COM, such as Word and Excel macros, VB, C++, or PowerBuilder.
OLE Automation samples for different languages are provided in the OLE Automation directory within your PowerDesigner installation directory.