Table of Contents

Method Update

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Updates data links from their sources, as DATALINKUPDATE's Update data link does: each link's source read, and the cells of each table it fills made what the source holds, rows and columns added or taken out to its size, the link's time and status written; one undo step. A link whose source cannot be read is counted as failed with its message and its tables left as they were.

public static CadDataLinkRun Update(CadDocument document, IEnumerable<DxfDataLink> links)

Parameters

document CadDocument

The document.

links IEnumerable<DxfDataLink>

The links; a data extraction's link is updated by CadExtraction.

Returns

CadDataLinkRun

How many went well and how many did not.

Exceptions

ArgumentNullException

Thrown when an argument is null.