Table of Contents

Method Run

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Run(CadDocument, CadExtractionSettings)

Runs the extraction: the objects read, those of the types chosen kept, a column for each property chosen (and the Count and Name columns the settings show), identical rows combined with their count, the filters applied and the sorts, the first the main one, the rows not moved by a sort kept in the order they were read.

public static CadExtractionResult Run(CadDocument current, CadExtractionSettings settings)

Parameters

current CadDocument

The current drawing.

settings CadExtractionSettings

The settings.

Returns

CadExtractionResult

The cells and what was read.

Exceptions

ArgumentNullException

Thrown when an argument is null.