请问版本枚举值问题?
本帖最后由 作者 于 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> case "AC1012"<br/> GetDwgVer="AutoCAD R12"<br/> case "AC1013"<br/> GetDwgVer="AutoCAD R13"<br/> case "AC1014"<br/> GetDwgVer="AutoCAD R14"<br/> case "AC1015"<br/> GetDwgVer="AutoCAD 2000"<br/> Case "AC1018"<br/> GetDwgVer="AutoCAD 2004"<br/> case "AC1021"<br/> GetDwgVer="AutoCAD 2007"<br/> case "AC1024"<br/> GetDwgVer="AutoCAD 2010"</p><p></p><p>发现没有AC1018,参考手册里也没有!很奇怪那2004应该怎么表示呢?<br/></p> <table class="Table4" cellspacing="0"><tbody><tr><td class="Element262" valign="top" width="50%"><div class="Element263"></div><div class="Element263">AC1001 = 8 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">AutoCAD 2.5 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1003 = 10 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">AutoCAD 2.6 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1004 = 11 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">Release 9 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1005 = 12 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">Release 10 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1007 = 14 </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 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">R11 and R12 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1010 = 0x11 </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 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">R13 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1013 = 20 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">R14 </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1015 = 0x17 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">2007 Final </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1500 = 0x16 </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 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267">2004 Final </div></td></tr><tr><td class="Element262" valign="top" width="50%"><div class="Element263">AC1To2 = 1 </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 </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 </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 </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 </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 </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 </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 </div></td><td class="Element266" valign="top" width="50%"><div class="Element267"></div></td></tr></tbody></table> ac1800?是04最终? AC1018你可以保存2004的版本,然后用记事本打开dwg文件,就可以看到对应的版本的枚举了
页:
[1]