Table of Contents

Method Load

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Load(string)

Load…: adds the layers of a standards file to the Translate To list, a layer of a name the list has taking the file's settings, and the mappings the file keeps (those a Save of this wrote) for layers of the drawing that are not mapped yet. A file that cannot be read, or has no layer, changes nothing.

public bool Load(string path)

Parameters

path string

The DWG, DWS, DWT or DXF file.

Returns

bool

Whether it was loaded; Message says why not.

Exceptions

ArgumentNullException

Thrown when the path is null.