# RhinoSupport.GetPositions examples

Examples for [GetPositions](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.halfedges.rhinosupport/getpositions.md) in Grasshopper2.Geometry.HalfEdges.RhinoSupport.

## C#

```cs
using Grasshopper2.Geometry.HalfEdges;

// As an extension method
IEnumerable<Point3d> result = source.GetPositions();

// As a static method
result = RhinoSupport.GetPositions(source);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Geometry.HalfEdges
clr.ImportExtensions(Grasshopper2.Geometry.HalfEdges)

# As an extension method
result = source.GetPositions()

# As a static method
result = Grasshopper2.Geometry.HalfEdges.RhinoSupport.GetPositions(source)
```
