Files
vectorcraft/docs
dotCooCoo 9b8461feb5 Scripts: exportFile writes DXF with ExportOptionsAutoCAD
- Document.exportFile with ExportType.AutoCAD takes an ExportOptionsAutoCAD
  object and writes a DXF file through document.export, adding .dxf unless
  the name ends with it. ExportType.AUTOCAD is the same value as
  ExportType.AutoCAD.
- The options map to the DXF writer: version (AutoCADRelease13, 14, 15, 18,
  21 and 24 as the R13, R14, 2000, 2004, 2007 and 2010 formats), unit,
  unitScaleRatio (drawing units for one unit, more than 0 and at most
  1000), colors, rasterFormat, exportOption, alterPathsForAppearance,
  convertTextToOutlines, exportSelectedArtOnly and scaleLineweights.
- An option the object leaves out takes the default the help page gives.
  colors, rasterFormat, unit and unitScaleRatio have none there and default
  to true colors, PNG, millimeters and 1.
- AutoCADExportFileFormat.DWG, the help page's default, throws an error that
  says DWG is not available, and nothing is written.
- New enumerations: AutoCADColors, AutoCADCompatibility,
  AutoCADExportFileFormat, AutoCADExportOption, AutoCADRasterFormat and
  AutoCADUnit.

https://ai-scripting.docsforadobe.dev/jsobjref/ExportOptionsAutoCAD/
https://ai-scripting.docsforadobe.dev/jsobjref/scripting-constants/

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-24 18:26:20 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00