Table of Contents

Method ParsePattern

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ParsePattern(string, string, string)

Reads a pattern typed as -LINETYPE Create takes it, A,6,-1.5 or 6,-1.5, into a linetype of the name and description given; the fault said where it cannot be read.

public static CadLinetypeDefinition ParsePattern(string name, string description, string pattern)

Parameters

name string

The name.

description string

The description.

pattern string

The pattern, its A, optional.

Returns

CadLinetypeDefinition

The linetype; its Fault set where the pattern cannot be read.

Exceptions

ArgumentNullException

Thrown when the name or the pattern is null.