Table of Contents

Method Override

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Override(CadDocument, IReadOnlyCollection<string>, IDictionary<string, object>)

Writes variables as overrides of the dimensions given, as AutoCAD's DIMOVERRIDE writes them into a dimension's extended data (ACAD, DSTYLE), each dimension then drawn again; the style is left as it is. A dimension an owner keeps is refused through the document's edit gate.

public static CadEditResult Override(CadDocument document, IReadOnlyCollection<string> handles, IDictionary<string, object> values)

Parameters

document CadDocument

The document.

handles IReadOnlyCollection<string>

The dimensions.

values IDictionary<string, object>

The variables that differ from their style, by name.

Returns

CadEditResult

What came of it; refused where no dimension is given.