# PointExtensionMethods.To2d examples

Examples for [To2d](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.pointextensionmethods/to2d.md) in Grasshopper2.Extensions.PointExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
Point2d[] result = points.To2d();

// As a static method
result = PointExtensionMethods.To2d(points);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Extensions
clr.ImportExtensions(Grasshopper2.Extensions)

# As an extension method
result = points.To2d()

# As a static method
result = Grasshopper2.Extensions.PointExtensionMethods.To2d(points)
```
