几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】using Dwgdirect For Rapid Generation Of Dwgs (http://www.dimcax.com/hust/showthread.php?t=18947)

yang686526 2009-05-07 06:03 PM

【转帖】using Dwgdirect For Rapid Generation Of Dwgs
 
using dwgdirect for rapid generation of dwgs
using dwgdirect for rapid generation of dwgs
i'm trying to use dwgdirect to create a high amount of dwgs as fast as the machine can process them. so far i've only been able to create about 1 dwg every second or so. the approach i have taken so far is to initialize dwgdirect, then create a new database for every dwg requested, and write out the resulting file. i've setup a simple test where when i click a button it creates a dwg with a line in it. if i click it once it makes the file just fine. if i click it every second or two it works fine as well. but as soon as i start clicking fast it can only handle creating 1 dwg per second or two and ignores the rest of the requests. i'm new to the library and i'd highly appreciate any suggestions, tricks, or guidance in the right direction.
thanks,
eric tyrrell


所有的时间均为北京时间。 现在的时间是 02:44 AM.