I tested many files and found a bug that only happens with LayOut 2026.1 (not 2026.0)
This code will return the error “File does not exist” if the LayOut file is linked or embeded an Excel file.
Layout::Document.open(file_path)
Let see the console
- At line 3, it returned the doc when the Excel file had not been inserted yet.
- At line 4, it returned the error when I inserted the Excel file, or even I unlinked to embeded into the LayOut file.
Here is the LayOut file to debug.
a.layout (240.4 KB)

