几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】how to get overall info about file contents without loading (http://www.dimcax.com/hust/showthread.php?t=16682)

yang686526 2009-05-06 02:42 PM

【转帖】how to get overall info about file contents without loading
 
how to get overall info about file contents without loading
how to get overall info about file contents without loading complete database
hai,
i wan to get details about overall structure of file contents (not getting into in details about entity representation).(i don抰 want to load complete database).documentation reads, partial load will give this fecility.can any one explain how does partial load works regarding loading database.
regards,
petchi muthu
last edited by petchi_muthu_t; 11th april 2007 at 05:41 amfff">.
if partial loading is used minimal ammount of data is loaded in readfile(). most objects are not loaded into memory. if an object is accessed it gets loaded (the data is actually read from file inside openobject() function).
this process is absolutely transparent for client code. you need not care if the drawing was loaded partially or not.
for dxf and dwg r12 full loading is always performed.
sergey slezkin


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