你可以试下下面的方法(今天刚好看一本AUTOCAD有关的书上写的):
dim Acadapp as new AutoCAD.AcadApplication()
dim sset As AutoCAD.AcadSelectionSet
sset=Acadapp.ActiveDocument.SelectionSets.Add("1")
sset.Select(AutoCAD.Acselect.acSelectionSetAll)
Acadapp.ActiveDocument.Export("c:\1","bmp",sset)
sset.Delete()
dim Acadapp as new AutoCAD.AcadApplication()
dim sset As AutoCAD.AcadSelectionSet
sset=Acadapp.ActiveDocument.SelectionSets.Add("1")
sset.Select(AutoCAD.Acselect.acSelectionSetAll)
Acadapp.ActiveDocument.Export("c:\1","bmp",sset)
sset.Delete()
解决方案 »
- 问大家一个关于C#的小小的问题
- 运行时,拖动复制按钮的问题。复制完成以后,原按钮状态仍处于被拖动状态。
- 我用lucene.net 建立索引时候 索引文件越来越多 最后就导致 索引不能使用了
- 检索分页的问题
- MS有没有可能在xp sp3 里集成 .Net的框架
- VS.NET与其它语言混合开发(如java,flash,vb等)
- 請問怎麼才能將GRIDVIEW中的數據導到EXCEL並由用戶選擇路徑存入客戶端,並在字符型或所有字段值前加入單引號?
- 字符串
- 求 asp.net 2.0 c#中文电子书。
- 如何获取客户端真实ip地址的方法
- 怎么样向并口打印文本文件?
- 请问有没有工具可以检测我的程序在网络中发送接收的数据量?
上次我写了一部分代码,好像跟这个类似,程序自动打开autocad了
这些程序在我系统崩溃的时候没了,所以我忘记第一汉是不是这样的了