Verifies the existence of a hatch object in the document.
Rhino.IsHatch (strObject)
strObject |
Required. String. The identifier of an object. |
True |
If successful. |
False |
If not successful. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Rhino.IsHatch(strObject) Then
Rhino.Print "Object is a hatch."
Else
Rhino.Print "Object is not a hatch."
End If