# IPinCushion interface

Namespace: [Grasshopper2.Parameters](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.parameters.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface IPinCushion
```

Implement this interface in any IDocumentObject which accepts certain kinds of pins.

**Derived types:** [Chain](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.standard.chain.md), [Cluster](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.standard.cluster.md), [CurveGraphObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.special.curvegraphobject.md), [ExportCoordinates](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.standard.exportcoordinates.md), [GroupObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.specialobjects.groupobject.md), [HistogramObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.special.histogramobject.md), [ImportCoordinates](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.standard.importcoordinates.md), [QuickGraphObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.special.quickgraphobject.md)

## Properties

- [Pins](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipincushion/pins.md): Gets the pin collection for this cushion.
- [SupportedPins](https://developer.rhino3d.com/api/gh2/type/grasshopper2.parameters.ipincushion/supportedpins.md): Enumerate over all supported pin types.
