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

yang686526 2009-05-04 07:00 PM

【转帖】database-resident objects paging on disk
 
database-resident objects paging on disk
database-resident objects paging on disk
hi all,
i'm not 100% sure whether this is the right question, but anyway:
in objectarx, an acdbobjectid can identify a database object, no matter whether it is currently paged on the disk (to save memory) or is stored directly in the memory. when a disk-stored object is opened, it goes to memory and its acdbstub (pointed by acdbobject) is refreshed.
sometimes large drawings are over 20-30 mb disk space and can be over 100 mb when loaded in memory.
usually autocad plays with such drawings by using only a few mb in ram because of the disk paging - the user can view the drawing (since the display lists are already generated) and can edit a part of it with little memory "expenses".
so the question is: is there some similar mechanism in dwgdirect which can be programmed in some way, or it is only the partial drawing load which can save some space?
thanks in advance for any help.
regards
chudomir
best regards
chudomir

currently only partial loading is available. paging is possible to implement inside dwgdirect in future.
sergey slezkin


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