Table of Contents

Method Create

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Makes a data link, as the New Excel Data Link dialog does: one undo step. The name has to be new ("Data link name in use."), the source has to read, and the drawing has to be of AutoCAD 2007 or later.

public static CadEditResult Create(CadDocument document, CadDataLinkSettings settings)

Parameters

document CadDocument

The document.

settings CadDataLinkSettings

The settings.

Returns

CadEditResult

What came of it.

Exceptions

ArgumentNullException

Thrown when the document or the settings are null.