書式
ExportOptionsAutoCADObject.version
説明
保存するAutoCADのバージョン形式を示します。以下の値を指定できます。
値 | 内容 |
AutoCADCompatibility.AutoCADRelease13 | R13/LT95 |
AutoCADCompatibility.AutoCADRelease14 | R14/LT98/LT97 |
AutoCADCompatibility.AutoCADRelease15 | 2000/LT2000 |
AutoCADCompatibility.AutoCADRelease18 | 2004/2005/2006 |
AutoCADCompatibility.AutoCADRelease19 | 2007/2008/2009 |
AutoCADCompatibility.AutoCADRelease20 | 2010/2011/2012 |
AutoCADCompatibility.AutoCADRelease21 | 2013/LT2013 |
AutoCADCompatibility.AutoCADRelease24 | 2018 |
var savefile=new File("~/Desktop/exp.dxf");
var exportOptions = new ExportOptionsAutoCAD();
exportOptions.version = AutoCADCompatibility.AutoCADRelease18;
app.activeDocument.exportFile(savefile, ExportType.AUTOCAD, exportOptions);