gsteven 发表于 2009-9-29 00:33:00

请问版本枚举值问题?

本帖最后由 作者 于 2009-9-29 20:08:35 编辑 <br /><br /> <p>DwgVersion 这个枚举型,只知道AC1018 = AutoCAD 2004 ,AC1015 = AutoCAD 2000,<strong>AC1800=</strong>R18 late version,<strong>AC1800a=</strong>R18 mid version.,</p><p>那么2005,2006,2007,2008,2009,2010分别是怎么表示的呢?R18就是2010版吧?</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case "AC1012"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD R12"<br/>&nbsp;&nbsp;&nbsp; &nbsp;case "AC1013"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD R13"<br/>&nbsp;&nbsp;&nbsp; &nbsp;case "AC1014"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD R14"<br/>&nbsp;&nbsp;&nbsp; &nbsp;case "AC1015"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD 2000"<br/>&nbsp;&nbsp;&nbsp; &nbsp;Case "AC1018"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD 2004"<br/>&nbsp;&nbsp;&nbsp; &nbsp;case "AC1021"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD 2007"<br/>&nbsp;&nbsp;&nbsp; &nbsp;case "AC1024"<br/>&nbsp;&nbsp;&nbsp; &nbsp;GetDwgVer="AutoCAD 2010"</p><p></p><p>发现没有AC1018,参考手册里也没有!很奇怪那2004应该怎么表示呢?<br/></p>

雪山飞狐_lzh 发表于 2009-9-29 22:02:00

<table class="Table4" cellspacing="0"><tbody><tr><td class="Element262" valign="top" width="50%"><div class="Element263"></div><div class="Element263">AC1001 = 8&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1002 = 9&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">AutoCAD 2.5&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1003 = 10&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">AutoCAD 2.6&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1004 = 11&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">Release 9&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1005 = 12&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1006 = 13&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">Release 10&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1007 = 14&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1008 = 15&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1009 = 0x10&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">R11 and R12&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1010 = 0x11&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1011 = 0x12&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1012 = 0x13&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">R13&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1013 = 20&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1014 = 0x15&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">R14&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1015 = 0x17&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1021 = 0x1b&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">2007 Final&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1500 = 0x16&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1800 = 0x19&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1800a = 0x18&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267">2004 Final&nbsp;</div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1To2 = 1&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1To40 = 2&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1To50 = 3&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC2100a = 0x1a&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC2To10 = 5&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC2To20 = 4&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC2To21 = 6&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC2To22 = 7&nbsp;</div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr></tbody></table>

sbydo 发表于 2011-2-15 16:26:44

ac1800?是04最终?

sailorcwx 发表于 2011-2-16 11:55:53

AC1018
你可以保存2004的版本,然后用记事本打开dwg文件,就可以看到对应的版本的枚举了
页: [1]
查看完整版本: 请问版本枚举值问题?