查看单个帖子
旧 2009-05-04, 05:04 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)