CurrentHatchPattern

Returns or sets the current hatch pattern.

Syntax

Rhino.CurrentHatchPattern ([strHatch])

Parameters

strHatch

Optional.  String.  The name of an existing hatch pattern to make current.

Returns

String

If a hatch pattern name is not specified, the current hatch pattern if successful.

String

If a hatch pattern name is specified, the previous current hatch pattern if successful.

Null

On error.

Example

If Rhino.IsHatchPattern("MyPattern") Then

  Rhino.CurrentHatchPattern "MyPattern"

End If

Also See

HatchPatternCount

HatchPatternNames