cancel
Showing results for 
Search instead for 
Did you mean: 

Diagram - MoveToPackage selected symbols

0 Kudos

Hello team,

I would like to know how can I use the function movetopackage in vbscript.

If I do manually, a select a diagram then click on movetopackage and in the next windows I select the objects that I want to move.

The objects, like tables, that are not select it will be created as shortcut.

In vbscript how can i do it? How can I create a selection from diagram?

Any ideias?

Best Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

arnaud_laurent
Employee
Employee
0 Kudos

Hello,

Have a look at Customizing and Extending PowerDesigner > Scripting PowerDesigner > Creating an Object Selection (Scripting)
http://help.sap.com/saphelp_pd1655_customize/helpdata/en/c7/d6b6196e1b10148568c8e11c884185/content.h...

HTH,

Arnaud

0 Kudos

Hello Arnaud Laurent,

In this example, you are selecting the objects from model. In this case the tables that are not select, it will not be created in the package as shortcut.

If you did the same manually:

  1. Create 2 physical models.
  2. In the first model create 5 tables
  3. Select that diagram in object browser
  4. Right click and choose "Move to package"
  5. Select the second model
  6. Select just 2 tables

If you check the second model, you will see those two tables and the other tables as shortcuts.

Do you get it?

Best Regards