Value |
Description |
0 |
Solid, uses object color. |
1 |
Lines, uses pattern file definition. |
2 |
Gradient, uses fill color definition. |
rhinoscriptsyntax.HatchPatternFillType (hatch_pattern)
rhinoscript.hatch.HatchPatternFillType (hatch_pattern)
hatch_pattern |
Required. String. The name of an existing hatch pattern. |
Number |
If hatch pattern's fill type if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
patterns = rs.HatchPatternNames()
for pattern in patterns:
fill = rs.HatchPatternFillType(pattern)
print pattern, "-", fill