# Iteration class

Namespace: [Grasshopper2.Types.Constraints](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.constraints.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Iteration : IIteration
```

A single iteration in a solver process.

## Constructors

- [Iteration](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/ctor.md)

## Properties

- [IIteration.Token](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/grasshopper2-types-constraints-iiteration-token.md): Cancellation token for this iteration.
- [ParentSystem](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/parentsystem.md): Gets the system which originated this stepwise solution.
- [Resolver](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/resolver.md): Gets the resolver to be used for expressions.

## Methods

- [FindNode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/findnode.md): Find a node within the system.
- [FindScalar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/findscalar.md): Find a scalar within the system.
- [IIteration.SetFailure](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/grasshopper2-types-constraints-iiteration-setfailure.md)
- [IIteration.SetNode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/grasshopper2-types-constraints-iiteration-setnode.md)
- [IIteration.SetScalar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/grasshopper2-types-constraints-iiteration-setscalar.md)
- [IIteration.TrySetEdge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.iteration/grasshopper2-types-constraints-iiteration-trysetedge.md): (3 overloads)
