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

yang686526 2009-05-06 09:35 PM

【转帖】paging support during vectorization
 
paging support during vectorization
paging support during vectorization
i believe that during vectorization also, paging technique is supported by dwgdirect.
plz confirm if this is correct.
thanks

what do you mean by "paging technique"?
sincerely yours,
george udov

by "paging technique", i mean the "paging support" described in the dwgdirect help file.
to quote from the help file :
" for environments with limited heap space, dwgdirect contains 2 options that can be used to reduce overall heap demands during a file loading: "
during vectorization, the client does not explicitly load and unload database objects(which is done by the library itself).
my question is - how can one then use the "paging support" during vectorization?
tia,
alex

plz correct me if i am completely off the track !
-alex

does anybody has any answers to this?
paging support is not concerned with vectorization directly.
during vectorization database objects are opened and closed by the library itself.
if the unloading feature is activated, then the object will be added to an "unload queue" after closing.
it needs to call the oddbpageobjects function to unload database objects from memory.
regards,
sergey vishnevetsky
thanks sergey!
i believe i need to call the oddbpageobjects function in the equivalents of exsimpleview::draw() or exsimpleview::regenabort() for unloading the closed objects.


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