Verifies the existence of a hatch object in the document.
rhinoscriptsyntax.IsHatch (object_id)
rhinoscript.hatch.IsHatch (object_id)
object_id |
Required. String or Guid. The identifier of an object. |
True |
If successful. |
False |
If not successful. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select object")
if rs.IsHatch(obj): print "Object is a hatch"
else: print "Object is not a hatch"