同意shaofun,用automation,
用导出函数Export。下面是autoCAD中的帮助:
Applies To
Document
Description
Exports the AutoCAD drawing to a SAT, WMF, EPS, DXF, and BMP formats.
Syntax
object.Export(Filename, Extension, SelectionSet)
Elements
Filename String; input-only
The name for the newly exported file
Extension String; input-only
This string should contain three characters specifying the type of file to export the drawing into. Case is not important. Use one of the following extensions:
SAT, WMF, EPS, DXF, BMP, or 3DS.
SelectionSet SelectionSet; input-only
Export only the objects in the specified selection set. The selection set cannot be empty. If NULL, the entire drawing is exported.
Return Value
None
下面的会了吧!