HatchPatternDescription

Returns the description of a hatch pattern. Note, not all hatch patterns have descriptions for descriptions are optional.

Syntax

rhinoscriptsyntax.HatchPatternDescription(hatch_pattern)

rhinoscript.hatch.HatchPatternDescription(hatch_pattern)

Parameters

hatch_pattern

Required.  String.  The name of an existing hatch pattern.

Returns

String

If hatch pattern's description if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

patterns = rs.HatchPatternNames()

for pattern in patterns:

    description = rs.HatchPatternDescription(pattern)

    if description: print pattern, "-", description

    else: print pattern

Also See

HatchPatternCount

HatchPatternNames