Table of Contents

Method Types

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Types(CadDocument, CadExtractionSettings, out IReadOnlyList<string>)

The object types the sources hold, as the Select Objects page lists them, after its display options: every kind of object and every block by name, with how many; the blocks of the current drawing that are defined and not inserted too (count nought) unless UsedOnly leaves them out. By name, letters of either case alike.

public static IReadOnlyList<CadExtractionType> Types(CadDocument current, CadExtractionSettings settings, out IReadOnlyList<string> missing)

Parameters

current CadDocument

The current drawing.

settings CadExtractionSettings

The settings.

missing IReadOnlyList<string>

The drawing files that could not be opened.

Returns

IReadOnlyList<CadExtractionType>

The types.

Exceptions

ArgumentNullException

Thrown when an argument is null.