# PathMappings class

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

```cs
public sealed class PathMappings
```

An ordered collection of [PathMap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.pathmap.md) instances.

## Constructors

- [PathMappings](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.pathmappings/ctor.md): Create a new mapping collection.

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.pathmappings/count.md): Gets the number of mappings stored in this collection.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.pathmappings/item.md): Gets the map at the given index.

## Methods

- [Apply](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.pathmappings/apply.md): (2 overloads) Apply this collection of mappings to a path+item pair.
- [TryParse](https://developer.rhino3d.com/api/gh2/type/grasshopper2.data.pathmappings/tryparse.md): (static) Parse a sequence of lines into mappings. Empty lines and lines starting with pound symbols will be ignored.
