RhinoCommon API
File3dmObjectTableAddHatch Method (Hatch, ObjectAttributes) |
Adds a hatch to the document.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public Guid AddHatch( Hatch hatch, ObjectAttributes attributes )
Public Function AddHatch ( hatch As Hatch, attributes As ObjectAttributes ) As Guid
Parameters
- hatch
- Type: Rhino.GeometryHatch
A hatch. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes to apply to brep.
Return Value
Type: GuidA unique identifier for the hatch, or Empty on failure.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14