怎样选择CAD启动版本
<p>系统里安装了autocad05、06、07、08,现在想在VB里启动CAD,如何根据选择来启动想要的那个版本呢?</p><p>Dim acadApp As AcadApplication</p><p>Set acadApp = GetObject(, "autocad.application")</p> AutoCAD产品名版本号ProgIDAutoCAD 2000 R15 AutoCAD.Application.15
AutoCAD 2002 R15 AutoCAD.Application.15
AutoCAD 2004 R16 AutoCAD.Application.16
AutoCAD 2005 R16.1 AutoCAD.Application.16.1
AutoCAD 2006 R16.2 AutoCAD.Application.16.2
AutoCAD 2007 R17 AutoCAD.Application.17
AutoCAD 2008 R17.1 AutoCAD.Application.17.1
AutoCAD 2009 R17.2 AutoCAD.Application.17.2
AutoCAD 2010 R18 AutoCAD.Application.18
AutoCAD 2011 R18.1 AutoCAD.Application.18.1
用法指导:
CreateObject ("AutoCAD.Application.17.1") '启动AutoCAD 2008.
如果不指定版本号,如CreateObject("AutoCAD.Application"),程序就会启动用户最后一次使用的AutoCAD的版本。
谢谢解答!
页:
[1]