IsHatchPattern

Verifies the existence of a hatch pattern in the document.

Syntax

rhinoscriptsyntax.IsHatchPattern(name)

rhinoscript.hatch.IsHatchPattern(name)

Parameters

name

Required.  String.  The name of a hatch pattern.

Returns

True

If successful.

False

If not successful.

Example

import rhinoscriptsyntax as rs

hatch = rs.GetString("Hatch pattern name")

if rs.IsHatchPattern(hatch): print "The hatch pattern exists."

else: print "The hatch pattern does not exist."

Also See

IsHatchPatternCurrent

IsHatchPatternReference