From 73946a86a8479561694834aec1d49ee25b02e96f Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Mon, 30 Nov 2026 23:03:05 -0800 Subject: [PATCH] Docs: exportFile names the image files a DXF writes beside it A DXF of a drawing with placed raster images writes each image it exports beside the drawing as a PNG file, or a JPEG file with rasterFormat JPEG. The exportFile paragraph in docs/mcp.md said it writes one file, with only the SVG companion images as an exception. --- docs/mcp.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/mcp.md b/docs/mcp.md index 19632196b9..46d40b3dc2 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -3171,8 +3171,9 @@ through `$`: does or where it may read and write, since a command a script runs never shows a dialog. `exportFile` adds the format's extension unless the name already ends with it (`.jpg` or `.jpeg`, `.tif` or `.tiff`, `.dxf`, `.svgz` with `compressed`), and writes one file: the active artboard with `artBoardClipping`, otherwise the bounds of the - visible art. An SVG with `embedRasterImages` false also writes the document's embedded images beside it, and - when the script's folders refuse one of those files, none of them is written; a write that fails once the + visible art. An SVG with `embedRasterImages` false also writes the document's embedded images beside it, and a + DXF of a drawing with placed raster images writes each image it exports beside it as a PNG file, or a JPEG + file with `rasterFormat` `AutoCADRasterFormat.JPEG`; those files must travel with the DXF. When the script's folders refuse one of those files, none of them is written; a write that fails once the first file is in place leaves the files written before it. A listed option that is not mapped is accepted at its help page's default, and any other value throws an error that says it is not available yet, as does `ExportType.FLASH`. A property the help pages do not list throws an error that names it (`PDFFileOptions` also accepts its read-only `typename` and