Table of Contents

Method CheckLayouts

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

CheckLayouts(string)

Checks the layouts of a drawing for the wizard's Choose Layouts page, before any set is there: as CheckLayouts(string) does for a set, without the check against its sheets.

public static IReadOnlyList<CadSheetImportLayout> CheckLayouts(string drawingFile)

Parameters

drawingFile string

The path of the drawing.

Returns

IReadOnlyList<CadSheetImportLayout>

The layouts; empty where the drawing is not a DWG.

Exceptions

ArgumentNullException

Thrown when the path is null.

FileNotFoundException

Thrown when the drawing is not there.