# EtoExtensions.ToSD examples

Examples for [ToSD](https://developer.rhino3d.com/api/gh1/type/grasshopper.etoextensions/tosd.md) in Grasshopper.EtoExtensions.

## C#

```cs
using Grasshopper;

// As an extension method
SizeF result = size.ToSD();

// As a static method
result = EtoExtensions.ToSD(size);
```

## Python

```python
import clr
clr.AddReference('Grasshopper')
import Grasshopper
clr.ImportExtensions(Grasshopper)

# As an extension method
result = size.ToSD()

# As a static method
result = Grasshopper.EtoExtensions.ToSD(size)
```
