Table of Contents

Constructor CadRefEditRequest

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CadRefEditRequest(CadDocument, IReadOnlyList<CadRefEditLevel>)

Makes the request of a document: the settings are those the document holds, the first reference chosen, every object taken.

public CadRefEditRequest(CadDocument document, IReadOnlyList<CadRefEditLevel> levels)

Parameters

document CadDocument

The document.

levels IReadOnlyList<CadRefEditLevel>

The references the dialog lists, the outermost first, as FindRefEditLevels(string, GeoPoint2?, double) gives them.

Exceptions

ArgumentNullException

Thrown when the document or the levels are null.

ArgumentException

Thrown when there is no level.