ExplodeHatch

Explodes a hatch object into its component objects. The exploded objects will be added to the document. If the hatch object uses a solid pattern, then planar face Brep objects will be created. Otherwise, line curve objects will be created.

Syntax

rhinoscriptsyntax.ExplodeHatch (hatch_id, delete=False)

rhinoscript.hatch.ExplodeHatch (hatch_id, delete=False)

Parameters

hatch_id

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

delete

Optional.  Boolean.  Delete the hatch object. The default is to not delete the hatch object (False).

Returns

List

A list of Guids identifying the newly created objects if successful.

None

On error.

Example

import rhinoscriptsyntax as rs

id = rs.GetObject("Select object")

if rs.IsHatch(id): rs.ExplodeHatch(id, True)

Also See

IsHatch

HatchPattern

HatchRotation

HatchScale