高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|