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

yang686526 2009-05-05 11:23 AM

【转帖】getgeomextents speed
 
getgeomextents speed
getgeomextents speed
hi,
i'm trying to improve my own osnap manager.
are geomextents calculated at every call of getgeomextents method?
it's very slow with big oddbblockreference.
is it possible to force update of geomextents at regen of odgsview only ?
thank you.
hi,
>>are geomextents calculated at every call of getgeomextents method?
yes.
we thought about caching extents for block references, but it's pretty hard task to maintain the cache up-to-date. it should not be related to gs regenerating.
anyway, if you would describe your task and faced problem more detailed we probably could suggest some workaround.


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