Refresh Containment Tree after projectsManager.importProject

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Refresh Containment Tree after projectsManager.importProject

Postby gschaefer@forwardslope.com » Wed Nov 14, 2018 5:32 pm

Hello.

I am importing another project file into the active project using:
projectsManager.importProject(projectDescriptor);

It seems to work fine but the Containment Tree is missing items until I do something like save the file or click around.

Looks like I need to refresh the tree.

How do I do that?

Thanks.

-greg
gschaefer@forwardslope.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:0
Joined: Fri Oct 05, 2018 2:09 pm

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests

cron