查看单个帖子
旧 2009-05-04, 06:44 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】createdatabase and version

createdatabase and version
createdatabase and version
hi everyone,
i was wondering if it is possible to initialize the database to a certain version :
currently createdatabase creates a database at the latest version of the dwg format, however i would like to initialize the database at level 2000.
is this possible, and how does one go about acheiving this.
cheers
jason
no.
at run-time the database is always of the latest version. before saving to minor version it gets converted, saved to file and restored.
many of api functions and vectorization may not work and crash if database is not of the latest version so we do not allow this situation.
btw, what's the purpose of initializing database with older version? if you are disturbed by ac2000 warning about proxy objects etc. database can be saved to minor version with "saveroundtripinformation" turned off:
oddbhostappservices::setsavroundtrip(false)
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)