Table of Contents

Method Parse

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Parse(string)

Reads the linetypes of the text of a .lin file, in its order: each opened by *NAME,description, its pattern on the next line that is not blank or a comment (;), A, and its elements. A linetype whose pattern cannot be read is given with its Fault, as AutoCAD refuses it alone.

public static IReadOnlyList<CadLinetypeDefinition> Parse(string text)

Parameters

text string

The text.

Returns

IReadOnlyList<CadLinetypeDefinition>

The linetypes.

Exceptions

ArgumentNullException

Thrown when the text is null.