Dynamo for returning area of AutoCAD/Civil 3D polyline or hatch

Sounds similar to this.