几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】geometry cache problem (http://www.dimcax.com/hust/showthread.php?t=16357)

yang686526 2009-05-05 11:11 AM

【转帖】geometry cache problem
 
geometry cache problem
geometry cache problem
hi,
i've got a problem with geometry cache with release 1.13.05.
(in my app there's a tab for each layout like autcad and i want to cache devices)
try that in odamfc :
- open a drawing
- vectorize a layout (let it open)
- select a other layout (of the same drawing)
- vectorize the other layout.
then the first vectorized layout have cache but not the other...
regards...
please give me a tips...

only one layout can have geometry cache. multiple layouts can't have geometry cache simultaneously.
second layout doesn't get cache because oddbentity's gsnodes (oddbdrawable::gsnode()) are already busy with cache for first layout.
the best way to implement your scenario (tab for each layout like in autocad) is to destroy the gs device for old tab layout when new layout is selected.
sincerely yours,
george udov


所有的时间均为北京时间。 现在的时间是 06:10 PM.