IsHatchPattern

Verifies the existence of a hatch pattern in the document.

Syntax

Rhino.IsHatchPattern (strHatch)

Parameters

strHatch

Required.  String.  The name of a hatch pattern.

Returns

True

If successful.

False

If not successful.

Null

On error.

Example

Dim strHatch

strHatch = Rhino.GetString("Hatch pattern name")

If Rhino.IsHatchPattern(strHatch) Then

Rhino.Print "The hatch pattern exists."

Else

Rhino.Print "The hatch pattern does not exist."

End If

Also See

IsHatchPatternCurrent

IsHatchPatternReference