fenghaili

Why does "Application.DesignNets" cause the memory usage for ViewDraw  keep  increasing

Discussion created by fenghaili on Apr 19, 2012
Latest reply on Jan 26, 2014 by fenghaili

SchName = Application.GetProjectData.GetiCDBDesignRootBlock(Application.GetActiveDesign())

        For Each oNet In Application.DesignNets("",SchName)          

 

        Next

 

If you copy the script above to notepad, and save as C:\WDIR\111.vbs  ,and in viewdraw run C:\WDIR\111.vbs for many times , then the memory usage for viewdraw keep incressing .

You can see the memory usage in Windows Task Manager.

 

Why this happened.?

Outcomes