# ChainDirection enum

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public enum ChainDirection
```

Which way to search along a chain from the current link.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Unset | 0 | Not set. |
| Previous | 1 | Search for chain links before the current link. |
| Next | 2 | Search for chain links after the current link. |
| Both | 3 | Search for chain links before and after the current link. |
