
# IPCB_GridManager interface

*No description yet.*

```csharp
public interface IPCB_GridManager
```

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

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddCartesianGrid](#addcartesiangrid) | [IPCB_CartesianGrid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CartesianGrid.md) |  |
| [AddHorizontalGuide](#addhorizontalguide) | [IPCB_PlacementGuideLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGuideLine.md) |  |
| [AddMCADCartesianGrid](#addmcadcartesiangrid) | [IPCB_CartesianGrid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_CartesianGrid.md) |  |
| [AddMCADPolarGrid](#addmcadpolargrid) | [IPCB_PolarGrid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PolarGrid.md) |  |
| [AddMinus45DegreeGuide](#addminus45degreeguide) | [IPCB_PlacementGuideLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGuideLine.md) |  |
| [AddPlus45DegreeGuide](#addplus45degreeguide) | [IPCB_PlacementGuideLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGuideLine.md) |  |
| [AddPolarGrid](#addpolargrid) | [IPCB_PolarGrid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PolarGrid.md) |  |
| [AddSnapPoint](#addsnappoint) | [IPCB_PlacementGuideSnapPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGuideSnapPoint.md) |  |
| [AddVerticalGuide](#addverticalguide) | [IPCB_PlacementGuideLine](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGuideLine.md) |  |
| [BeginUpdate](#beginupdate) | `void` |  |
| [CanDecrementGridPriority](#candecrementgridpriority) | `bool` |  |
| [CanIncrementGridPriority](#canincrementgridpriority) | `bool` |  |
| [CreatePlacementGridIterator](#createplacementgriditerator) | [IPCB_PlacementGridIterator](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGridIterator.md) |  |
| [CreateRealPlacementGuideIterator](#createrealplacementguideiterator) | [IPCB_RealPlacementGuideIterator](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_RealPlacementGuideIterator.md) |  |
| [DecrementGridPriority](#decrementgridpriority) | `bool` |  |
| [DeleteAllGrids](#deleteallgrids) | `void` |  |
| [DeleteAllGuides](#deleteallguides) | `void` |  |
| [DeleteAllMCADGrids](#deleteallmcadgrids) | `void` |  |
| [DeleteGrid](#deletegrid) | `bool` |  |
| [DeleteGuide](#deleteguide) | `bool` |  |
| [EndUpdate](#endupdate) | `void` |  |
| [FindApplicableGrid](#findapplicablegrid) | [IPCB_PlacementGrid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGrid.md) |  |
| [FindApplicableGridByXY](#findapplicablegridbyxy) | [IPCB_PlacementGrid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_PlacementGrid.md) |  |
| [IncrementGridPriority](#incrementgridpriority) | `bool` |  |
| [NextStateID](#nextstateid) | `void` |  |
| [ResolveGridPriorities](#resolvegridpriorities) | `void` |  |
| [RunGridEditor](#rungrideditor) | `bool` |  |

### AddCartesianGrid

*No description yet.*

```csharp
IPCB_CartesianGrid AddCartesianGrid();
```

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

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

### AddHorizontalGuide

*No description yet.*

```csharp
IPCB_PlacementGuideLine AddHorizontalGuide(int argy, bool argStaticGuide, IPCB_Primitive argSource);
```

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

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

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

### AddMCADCartesianGrid

*No description yet.*

```csharp
IPCB_CartesianGrid AddMCADCartesianGrid();
```

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

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

### AddMCADPolarGrid

*No description yet.*

```csharp
IPCB_PolarGrid AddMCADPolarGrid();
```

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

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

### AddMinus45DegreeGuide

*No description yet.*

```csharp
IPCB_PlacementGuideLine AddMinus45DegreeGuide(int argx, int argy, bool argStaticGuide, IPCB_Primitive argSource);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argx` | `int` | value |
| `argy` | `int` | value |
| `argStaticGuide` | `bool` | value |
| `argSource` | [IPCB_Primitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md) | value |

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

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

### AddPlus45DegreeGuide

*No description yet.*

```csharp
IPCB_PlacementGuideLine AddPlus45DegreeGuide(int argx, int argy, bool argStaticGuide, IPCB_Primitive argSource);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argx` | `int` | value |
| `argy` | `int` | value |
| `argStaticGuide` | `bool` | value |
| `argSource` | [IPCB_Primitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md) | value |

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

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

### AddPolarGrid

*No description yet.*

```csharp
IPCB_PolarGrid AddPolarGrid();
```

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

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

### AddSnapPoint

*No description yet.*

```csharp
IPCB_PlacementGuideSnapPoint AddSnapPoint(int argx, int argy, bool argStaticGuide, IPCB_Primitive argSource);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argx` | `int` | value |
| `argy` | `int` | value |
| `argStaticGuide` | `bool` | value |
| `argSource` | [IPCB_Primitive](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_Primitive.md) | value |

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

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

### AddVerticalGuide

*No description yet.*

```csharp
IPCB_PlacementGuideLine AddVerticalGuide(int argx, bool argStaticGuide, IPCB_Primitive argSource);
```

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

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

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

### BeginUpdate

*No description yet.*

```csharp
void BeginUpdate();
```

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

### CanDecrementGridPriority

*No description yet.*

```csharp
bool CanDecrementGridPriority(IPCB_PlacementGrid argGrid);
bool CanDecrementGridPriority(object argGrid);
```

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

**Returns:** `bool`

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

### CanIncrementGridPriority

*No description yet.*

```csharp
bool CanIncrementGridPriority(IPCB_PlacementGrid argGrid);
bool CanIncrementGridPriority(object argGrid);
```

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

**Returns:** `bool`

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

### CreatePlacementGridIterator

*No description yet.*

```csharp
IPCB_PlacementGridIterator CreatePlacementGridIterator();
```

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

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

### CreateRealPlacementGuideIterator

*No description yet.*

```csharp
IPCB_RealPlacementGuideIterator CreateRealPlacementGuideIterator();
```

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

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

### DecrementGridPriority

*No description yet.*

```csharp
bool DecrementGridPriority(IPCB_PlacementGrid argGrid);
bool DecrementGridPriority(object argGrid);
```

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

**Returns:** `bool`

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

### DeleteAllGrids

*No description yet.*

```csharp
void DeleteAllGrids();
```

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

### DeleteAllGuides

*No description yet.*

```csharp
void DeleteAllGuides();
```

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

### DeleteAllMCADGrids

*No description yet.*

```csharp
void DeleteAllMCADGrids();
```

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

### DeleteGrid

*No description yet.*

```csharp
bool DeleteGrid(IPCB_PlacementGrid argGrid);
bool DeleteGrid(object argGrid);
```

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

**Returns:** `bool`

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

### DeleteGuide

*No description yet.*

```csharp
bool DeleteGuide(IPCB_PlacementGuide argGuide);
bool DeleteGuide(object argGuide);
```

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

**Returns:** `bool`

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

### EndUpdate

*No description yet.*

```csharp
void EndUpdate();
```

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

### FindApplicableGrid

*No description yet.*

```csharp
IPCB_PlacementGrid FindApplicableGrid(IPCB_Primitive argPrimitive);
```

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

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

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

### FindApplicableGridByXY

*No description yet.*

```csharp
IPCB_PlacementGrid FindApplicableGridByXY(int argX, int argY);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argX` | `int` | value |
| `argY` | `int` | value |

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

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

### IncrementGridPriority

*No description yet.*

```csharp
bool IncrementGridPriority(IPCB_PlacementGrid argGrid);
bool IncrementGridPriority(object argGrid);
```

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

**Returns:** `bool`

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

### NextStateID

*No description yet.*

```csharp
void NextStateID();
```

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

### ResolveGridPriorities

*No description yet.*

```csharp
void ResolveGridPriorities();
```

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

### RunGridEditor

*No description yet.*

```csharp
bool RunGridEditor(IPCB_Board argBoard, IPCB_PlacementGrid argGrid);
bool RunGridEditor(object argBoard, object argGrid);
```

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

**Returns:** `bool`

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

## Returned by

[IPCB_BoardEx.GridManager](https://altiumdeveloper.github.io/ad-sdk-docs/reference/pcb/IPCB_BoardEx.md#gridmanager)
