Table of Contents

Method Read

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

Read(DxfDatabase)

Reads the mark in a drawing.

public static CadSheetSetHint Read(DxfDatabase database)

Parameters

database DxfDatabase

The drawing.

Returns

CadSheetSetHint

The mark; null where the drawing has none, or none that names a sheet set.

Exceptions

ArgumentNullException

Thrown when the drawing is null.

Read(string)

Reads the mark in a drawing file, as Read(DxfDatabase) does once the file is read.

public static CadSheetSetHint Read(string drawingFile)

Parameters

drawingFile string

The path of the DWG or DXF.

Returns

CadSheetSetHint

The mark; null where the drawing has none.

Exceptions

ArgumentNullException

Thrown when the path is null.