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

yang686526 2009-05-07 12:03 AM

【转帖】property file
 
property file
property file
is it possible to read (and write) property file (author, title ....) quikly without open all the database ?
thank
thierry
you should probably open the database partially. it should be fast enough.
best regards
chudomir
opening database partially (a parameter in readfile()) will help to read the data without loading the whole database.
but incremental saving is not implemented in dd.
to modify the data in file you'll have to read and save the whole database.
sergey slezkin
thanks - that's usefull info
best regards
chudomir
one more thing: in dd 1.12 modifying partially loaded database (adding a block for example) and saving it may produce invalid files crashing autocad.
this will be fixed in 1.13 but saving partially loaded database in any case will force full loading untill incremental save is implemented.
sergey slezkin


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