
# ILayerMap interface

*No description yet.*

```csharp
public interface ILayerMap
```

**Namespace:** PCB · **Assembly:** Altium.SDK.Interfaces

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Mapping](#mapping) | [ILayerMapping](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerMapping.md) | get |  |
| [MappingCount](#mappingcount) | `int` | get |  |

### Mapping

*No description yet.*

```csharp
ILayerMapping Get_Mapping(int argIndex);
```

**Type:** [ILayerMapping](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerMapping.md) · **Access:** read-only · **Index:** `argIndex` (`int`)

The accessors are extension methods of `ILayerMapHelper` (`using PCB;`).

### MappingCount

*No description yet.*

```csharp
int Get_MappingCount();
```

**Type:** `int` · **Access:** read-only

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddMapping](#addmapping) | [ILayerMapping](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerMapping.md) |  |
| [Clear](#clear) | `void` |  |
| [ExportToFile](#exporttofile) | `void` |  |
| [FindMappingByName](#findmappingbyname) | [ILayerMapping](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerMapping.md) |  |
| [ImportFromFile](#importfromfile) | `void` |  |

### AddMapping

*No description yet.*

```csharp
ILayerMapping AddMapping();
```

**Returns:** [ILayerMapping](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerMapping.md)

Extension method of `ILayerMapHelper` (`using PCB;`).

### Clear

*No description yet.*

```csharp
void Clear();
```

**Returns:** nothing (`void`)

### ExportToFile

*No description yet.*

```csharp
void ExportToFile(string argIniFilePath);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIniFilePath` | `string` | value |

**Returns:** nothing (`void`)

### FindMappingByName

*No description yet.*

```csharp
ILayerMapping FindMappingByName(string argLayerName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argLayerName` | `string` | value |

**Returns:** [ILayerMapping](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/ILayerMapping.md)

Extension method of `ILayerMapHelper` (`using PCB;`).

### ImportFromFile

*No description yet.*

```csharp
void ImportFromFile(string argIniFilePath);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIniFilePath` | `string` | value |

**Returns:** nothing (`void`)
