CurrentHatchPattern

Returns or sets the current hatch pattern file.

Syntax

rhinoscriptsyntax.CurrentHatchPattern (hatch_pattern=None)

rhinoscript.hatch.CurrentHatchPattern (hatch_pattern=None)

Parameters

hatch_pattern

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.

None

On error.

Example

import rhinoscriptsyntax as rs

if rs.IsHatchPattern("Hatch2"): rs.CurrentHatchPattern("Hatch2")

Also See

HatchPatternCount

HatchPatternNames