LayOut 2026.1 - Open bug from API with a linked/embeded Excel file

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)

@adam ping

1 Like

There is an issue introduced in LayOut 2026.1 involving tables that have an ‘invalid’ table file reference. This issue should be fixed in a future release but I don’t know when that might be. The workaround for now is to open the affected LayOut file in 2026.0, and context click > Unlink Table Viewport. See this post for basically the same information: Layout 2026.1-error reading file - #11 by adam

Adam.

2 Likes