var
savefile=
new
File(
"~/Desktop/exp.dxf"
);
exportOptions =
ExportOptionsAutoCAD();
exportOptions.alterPathsForAppearance =
true
;
app.activeDocument.exportFile(savefile, ExportType.AUTOCAD, exportOptions);