# Hatch areas

**URL:** <https://discourse.mcneel.com/t/hatch-areas/154273>\
**Category:** Grasshopper\
**Tags:** windows\
**Created:** [February 3, 2023, 12:12pm UTC](https://discourse.mcneel.com/t/hatch-areas/154273 "2023-02-03T12:12:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rh-3d-p](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/rh-3d-p/32/485582_2.png) [@Rh-3d-p](https://discourse.mcneel.com/u/Rh-3d-p)\
**Post date:** [February 3, 2023, 12:25pm UTC](https://discourse.mcneel.com/t/hatch-areas/154273/2 "2023-02-03T12:25:13Z")

</div>

Hi  
Use this method

> [@Get hatch boundary](https://discourse.mcneel.com/t/get-hatch-boundary/152913/6):
>
> You might consider using the hatch object GUID to reference it in Grasshopper like this. private void RunScript(Guid id, ref object Outer, ref object Inner) { var rhinoObject = RhinoDocument.Objects.FindId(id); if (rhinoObject is HatchObject) { var hatch = rhinoObject.Geometry as Hatch; Outer = hatch.Get3dCurves(true); Inner = hatch.Get3dCurves(false); } } import Rhino rhino\_object = Rhino.RhinoDoc.ActiveDoc.Objects.Find(id) if type(rhino\_object) is Rhino.DocObjec…

And` sum the outer boundry-sum of inner boundry`

---

_[View the full topic](https://discourse.mcneel.com/t/hatch-areas/154273)._
