
# IPCB_KeepoutRestrictions interface

*No description yet.*

```csharp
public interface IPCB_KeepoutRestrictions
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [IsKeepoutForCopper](#iskeepoutforcopper) | `bool` | get; set |  |
| [IsKeepoutForSMDPad](#iskeepoutforsmdpad) | `bool` | get; set |  |
| [IsKeepoutForTHPad](#iskeepoutforthpad) | `bool` | get; set |  |
| [IsKeepoutForTrack](#iskeepoutfortrack) | `bool` | get; set |  |
| [IsKeepoutForVia](#iskeepoutforvia) | `bool` | get; set |  |
| [KeepoutRestrictions](#keepoutrestrictions) | [TKeepoutRestrictionsSet](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/TKeepoutRestrictionsSet.md) | get; set |  |

### IsKeepoutForCopper

*No description yet.*

```csharp
bool GetState_IsKeepoutForCopper();
void SetState_IsKeepoutForCopper(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### IsKeepoutForSMDPad

*No description yet.*

```csharp
bool GetState_IsKeepoutForSMDPad();
void SetState_IsKeepoutForSMDPad(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### IsKeepoutForTHPad

*No description yet.*

```csharp
bool GetState_IsKeepoutForTHPad();
void SetState_IsKeepoutForTHPad(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### IsKeepoutForTrack

*No description yet.*

```csharp
bool GetState_IsKeepoutForTrack();
void SetState_IsKeepoutForTrack(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### IsKeepoutForVia

*No description yet.*

```csharp
bool GetState_IsKeepoutForVia();
void SetState_IsKeepoutForVia(bool argValue);
```

**Type:** `bool` · **Access:** read/write

### KeepoutRestrictions

*No description yet.*

```csharp
TKeepoutRestrictionsSet GetState_KeepoutRestrictions();
void SetState_KeepoutRestrictions(TKeepoutRestrictionsSet argValue);
```

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

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [IsPrimitiveInKeepoutRestriction](#isprimitiveinkeepoutrestriction) | `bool` |  |

### IsPrimitiveInKeepoutRestriction

*No description yet.*

```csharp
bool IsPrimitiveInKeepoutRestriction(IPCB_Primitive argPrimitive);
bool IsPrimitiveInKeepoutRestriction(object argPrimitive);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPrimitive` | [IPCB_Primitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md) | value |

**Returns:** `bool`

The first overload is an extension method of `IPCB_KeepoutRestrictionsHelper` (`using PCB;`) with typed parameters; the second is declared by the interface.
