
# IPCB_CopperBody interface

*No description yet.*

```csharp
public interface IPCB_CopperBody
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Hash](#hash) | `string` | get |  |
| [Layer](#layer) | [V7_LayerBase](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/V7_LayerBase.md) | get |  |
| [Net](#net) | [IPCB_Net](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Net.md) | get |  |
| [Shape](#shape) | [IPCB_CopperBodyShape](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CopperBodyShape.md) | get |  |
| [ShapeCount](#shapecount) | `int` | get |  |
| [Suffix](#suffix) | `string` | get |  |

### Hash

*No description yet.*

```csharp
string GetState_Hash();
```

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

### Layer

*No description yet.*

```csharp
V7_LayerBase GetState_Layer();
```

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

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

### Net

*No description yet.*

```csharp
IPCB_Net GetState_Net();
```

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

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

### Shape

*No description yet.*

```csharp
IPCB_CopperBodyShape GetState_Shape(int argIndex);
```

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

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

### ShapeCount

*No description yet.*

```csharp
int GetState_ShapeCount();
```

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

### Suffix

*No description yet.*

```csharp
string GetState_Suffix();
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [ExportToFile](#exporttofile) | `void` |  |
| [ExportToString](#exporttostring) | `string` |  |
| [GetReferenceBody](#getreferencebody) | [IPCB_CopperBody](#) |  |
| [GetXOffset](#getxoffset) | `int` |  |
| [GetYOffset](#getyoffset) | `int` |  |
| [SaveToSVGFile](#savetosvgfile) | `void` |  |

### ExportToFile

*No description yet.*

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

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

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

### ExportToString

*No description yet.*

```csharp
string ExportToString();
```

**Returns:** `string`

### GetReferenceBody

*No description yet.*

```csharp
IPCB_CopperBody GetReferenceBody();
```

**Returns:** [IPCB_CopperBody](#)

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

### GetXOffset

*No description yet.*

```csharp
int GetXOffset();
```

**Returns:** `int`

### GetYOffset

*No description yet.*

```csharp
int GetYOffset();
```

**Returns:** `int`

### SaveToSVGFile

*No description yet.*

```csharp
void SaveToSVGFile(string argFileName);
```

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

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

## Returned by

[IPCB_CopperBodyList.GetCopperBody](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CopperBodyList.md#getcopperbody)
