Table of Contents

Method ResaveAllSheets

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

ResaveAllSheets()

Opens every sheet's drawing and saves it again, as Resave All Sheets does, so that the drawings and the set agree: the sheet takes the name, handle and file the layout has now (found as FindLayout() finds it), the drawing is given the sheet set mark and saved as a DWG of AutoCAD 2018, once for all the sheets that are layouts of it. A sheet that is missing is left as it is.

public IReadOnlyList<CadSheetSetSheet> ResaveAllSheets()

Returns

IReadOnlyList<CadSheetSetSheet>

The sheets that are missing, in set order; empty where all were resaved.

Exceptions

InvalidOperationException

Thrown outside Change(Action<CadSheetSet>).

NotSupportedException

Thrown when the DWG writer would leave something of a drawing out; that drawing is not replaced and the sheets after it are not resaved.