# SnapSpace class

Namespace: [Grasshopper2.UI.Snap](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.snap.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class SnapSpace
```

Represents a collection of snapping elements.

## Properties

- [Empty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.snap.snapspace/empty.md): (static) Gets the empty snap space.
- [IsEmpty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.snap.snapspace/isempty.md): Gets whether this snapping space of devoid of elements.

## Methods

- [Create](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.snap.snapspace/create.md): (5 overloads, static) Create a new snap-space from custom elements.
- [CreateOrthogonal](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.snap.snapspace/createorthogonal.md): (2 overloads, static) Create a snapping space for the vertices of a square grid.
- [Merge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.snap.snapspace/merge.md): Combine two snapping spaces.
- [Snap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.snap.snapspace/snap.md): (2 overloads) Snap a coordinate to this space.
