高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】bug in oddbdatabaseversion of dwgdirect 2.3.0
bug in oddbdatabase::version of dwgdirect 2.3.0?
bug in oddbdatabase::version of dwgdirect 2.3.0?
when reading an acad 2004 database and calling the oddbdatabase::version() method, i now get oddb::kdhl_1021 under the new 2.3.0 libraries when i should be receiving oddb::kdhl_1800 (or oddb::vac18).
i have not tested any other acad versions than this, so i don't know if any other versions exhibit this problem or not.
regards,
dave b.
version() returns the version of run-time database which is always the latest one. probably oddbdatabase:riginalfileversion() is the function you need.
sergey slezkin
no bug... programmer error
exactly right! thanks for showing me the err of my ways
|