
# IEDesignData_HWPart interface

*No description yet.*

```csharp
public interface IEDesignData_HWPart : IEDesignData_Item
```

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

**Inherits:** [IEDesignData_Item](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md)

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [Comment](#comment) | `string` | get; set |  |
| [Description](#description) | `string` | get; set |  |
| [Name](#name) | `string` | get; set |  |

### Comment

*No description yet.*

```csharp
string GetComment();
void SetComment(string argValue);
```

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

### Description

*No description yet.*

```csharp
string GetDescription();
void SetDescription(string argValue);
```

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

### Name

*No description yet.*

```csharp
string GetName();
void SetName(string argValue);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddModelInterface](#addmodelinterface) | `bool` |  |
| [ClearAllModels](#clearallmodels) | `void` |  |
| [GetModelInterface](#getmodelinterface) | [IEDesignData_Item](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md) |  |
| [GetModelsCount](#getmodelscount) | `int` |  |
| [RemoveModelInterface](#removemodelinterface) | `bool` |  |

### AddModelInterface

*No description yet.*

```csharp
bool AddModelInterface(IEDesignData_Item argModel);
bool AddModelInterface(object argModel);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argModel` | [IEDesignData_Item](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md) | value |

**Returns:** `bool`

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

### ClearAllModels

*No description yet.*

```csharp
void ClearAllModels();
```

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

### GetModelInterface

*No description yet.*

```csharp
IEDesignData_Item GetModelInterface(int argIndex);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argIndex` | `int` | value |

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

Extension method of `IEDesignData_HWPartHelper` (`using DXP;`).

### GetModelsCount

*No description yet.*

```csharp
int GetModelsCount();
```

**Returns:** `int`

### RemoveModelInterface

*No description yet.*

```csharp
bool RemoveModelInterface(IEDesignData_Item argModel);
bool RemoveModelInterface(object argModel);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argModel` | [IEDesignData_Item](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md) | value |

**Returns:** `bool`

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

## Inherited members

- From [IEDesignData_Item](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md): [AddParameter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#addparameter), [ClearParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#clearparameters), [GetParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#getparameters), [GetParameterValue](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#getparametervalue), [ItemGUID](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#itemguid), [MapAsString](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#mapasstring), [ParameterExists](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#parameterexists), [RemoveParameter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#removeparameter), [RevisionGUID](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#revisionguid), [SetParameterValue](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#setparametervalue), [VaultGUID](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_Item.md#vaultguid)

## Returned by

[IEDesignData_HWPartDocument.GetHWPartInterface](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDesignData_HWPartDocument.md#gethwpartinterface)
