Method CheckLayouts
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
drawingFilestringThe 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.