IsHatch

Verifies the existence of a hatch object in the document.

Syntax

rhinoscriptsyntax.IsHatch (object_id)

rhinoscript.hatch.IsHatch (object_id)

Parameters

object_id

Required.  String or Guid.  The identifier of an object.

Returns

True

If successful.

False

If not successful.

Example

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"

Also See

HatchPattern

HatchRotation

HatchScale