Verifies the existence of a hatch pattern in the document.
Rhino.IsHatchPattern (strHatch)
strHatch |
Required. String. The name of a hatch pattern. |
True |
If successful. |
False |
If not successful. |
Null |
On error. |
Dim strHatch
strHatch = Rhino.GetString("Hatch pattern name")
If Rhino.IsHatchPattern(strHatch) Then
Rhino.Print "The hatch pattern exists."
Else
Rhino.Print "The hatch pattern does not exist."
End If