Table of Contents

Method Get

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

Get(string)

Finds a drawing by its full path, else by its name with the extension (A-101.dwg), compared without regard to case.

public CadRemoteDocument Get(string pathOrName)

Parameters

pathOrName string

The path or the name.

Returns

CadRemoteDocument

The drawing, or null when none is open by that path or name.

Exceptions

ArgumentNullException

Thrown when the path or name is null.