Skip to Content
0
Sep 04, 2023 at 05:29 AM

Print power designer data model diagram using VB scripts

186 Views

Hi team

Need your help to print a Power designer model diagram using VB script . I checked the meta model help and found the print method is at base diagram level

print()

Sends the display of the diagram to the default printer.

I tried the below code to print the diagram using the script

For Each dia In mdl.AllDiagrams

set Mydiagram= Dia

Mydiagram.print

next

Shows error object does not support property or method . Can anybody help