
# IMBA_SDK_ViewPort interface

*No description yet.*

```csharp
public interface IMBA_SDK_ViewPort
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [CreatePartViewPort2](#createpartviewport2) | [IMBA_SDK_PartDataModel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IMBA_SDK_PartDataModel.md) |  |
| [RemovePartViewPort2](#removepartviewport2) | [TMBA_SDK_ControllerResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TMBA_SDK_ControllerResult.md) |  |
| [ViewPortOp_Rotate](#viewportop_rotate) | [TMBA_SDK_ControllerResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TMBA_SDK_ControllerResult.md) |  |
| [ViewPortOp_SetColor](#viewportop_setcolor) | [TMBA_SDK_ControllerResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TMBA_SDK_ControllerResult.md) |  |
| [ViewPortOp_SetPosition](#viewportop_setposition) | [TMBA_SDK_ControllerResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TMBA_SDK_ControllerResult.md) |  |
| [ViewPortOp_SetTransform](#viewportop_settransform) | [TMBA_SDK_ControllerResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TMBA_SDK_ControllerResult.md) |  |
| [ViewPortOp_SetVisible](#viewportop_setvisible) | [TMBA_SDK_ControllerResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TMBA_SDK_ControllerResult.md) |  |

### CreatePartViewPort2

*No description yet.*

```csharp
IMBA_SDK_PartDataModel CreatePartViewPort2(string argOrgPartUID);
```

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

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).

### RemovePartViewPort2

*No description yet.*

```csharp
TMBA_SDK_ControllerResult RemovePartViewPort2(string argViewPortUID);
```

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

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).

### ViewPortOp_Rotate

*No description yet.*

```csharp
TMBA_SDK_ControllerResult ViewPortOp_Rotate(string argViewPortUID, MBA_SDK_Vec3 argVector, float argValue);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argViewPortUID` | `string` | value |
| `argVector` | [MBA_SDK_Vec3](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/MBA_SDK_Vec3.md) | value |
| `argValue` | `float` | value |

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).

### ViewPortOp_SetColor

*No description yet.*

```csharp
TMBA_SDK_ControllerResult ViewPortOp_SetColor(string argViewPortUID, uint argColor);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argViewPortUID` | `string` | value |
| `argColor` | `uint` | value |

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).

### ViewPortOp_SetPosition

*No description yet.*

```csharp
TMBA_SDK_ControllerResult ViewPortOp_SetPosition(string argViewPortUID, MBA_SDK_Vec3 argVector);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argViewPortUID` | `string` | value |
| `argVector` | [MBA_SDK_Vec3](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/MBA_SDK_Vec3.md) | value |

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).

### ViewPortOp_SetTransform

*No description yet.*

```csharp
TMBA_SDK_ControllerResult ViewPortOp_SetTransform(string argViewPortUID, MBA_SDK_Mat4 argMatrix);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argViewPortUID` | `string` | value |
| `argMatrix` | [MBA_SDK_Mat4](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/MBA_SDK_Mat4.md) | value |

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).

### ViewPortOp_SetVisible

*No description yet.*

```csharp
TMBA_SDK_ControllerResult ViewPortOp_SetVisible(string argViewPortUID, bool argVisible);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argViewPortUID` | `string` | value |
| `argVisible` | `bool` | value |

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

Extension method of `IMBA_SDK_ViewPortHelper` (`using EDP;`).
