
# IModel interface

*No description yet.*

```csharp
public interface IModel
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [DataFileEntityCount](#datafileentitycount) | `int` | get |  |
| [DataFileEntityLocation](#datafileentitylocation) | `string` | get |  |
| [DataFileEntityName](#datafileentityname) | `string` | get |  |
| [ModelDescription](#modeldescription) | `string` | get; set |  |
| [ModelMapAsString](#modelmapasstring) | `string` | get; set |  |
| [ModelName](#modelname) | `string` | get; set |  |
| [ModelParameter](#modelparameter) | [IItemParameter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IItemParameter.md) | get |  |
| [ModelParameterCount](#modelparametercount) | `int` | get |  |
| [ModelParameterName](#modelparametername) | `string` | get |  |
| [ModelParameterValue](#modelparametervalue) | `string` | get |  |
| [ModelParameterValueByName](#modelparametervaluebyname) | `string` | get; set |  |
| [Owner](#owner) | [ILibraryComponent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ILibraryComponent.md) | get |  |
| [UseComponentLibrary](#usecomponentlibrary) | `bool` | get; set |  |

### DataFileEntityCount

*No description yet.*

```csharp
int Get_DataFileEntityCount();
```

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

### DataFileEntityLocation

*No description yet.*

```csharp
string Get_DataFileEntityLocation(int argIndex);
```

**Type:** `string` · **Access:** read-only · **Index:** `argIndex` (`int`)

### DataFileEntityName

*No description yet.*

```csharp
string Get_DataFileEntityName(int argIndex);
```

**Type:** `string` · **Access:** read-only · **Index:** `argIndex` (`int`)

### ModelDescription

*No description yet.*

```csharp
string Get_ModelDescription();
void Set_ModelDescription(string argValue);
```

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

### ModelMapAsString

*No description yet.*

```csharp
string Get_ModelMapAsString();
void Set_ModelMapAsString(string argValue);
```

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

### ModelName

*No description yet.*

```csharp
string Get_ModelName();
void Set_ModelName(string argValue);
```

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

### ModelParameter

*No description yet.*

```csharp
IItemParameter Get_ModelParameter(int argIndex);
```

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

The accessors are extension methods of `IModelHelper` (`using SCH;`).

### ModelParameterCount

*No description yet.*

```csharp
int Get_ModelParameterCount();
```

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

### ModelParameterName

*No description yet.*

```csharp
string Get_ModelParameterName(int argIndex);
```

**Type:** `string` · **Access:** read-only · **Index:** `argIndex` (`int`)

### ModelParameterValue

*No description yet.*

```csharp
string Get_ModelParameterValue(int argIndex);
```

**Type:** `string` · **Access:** read-only · **Index:** `argIndex` (`int`)

### ModelParameterValueByName

*No description yet.*

```csharp
string GetModelParameterValueByName(string argName);
void SetModelParameterValueByName(string argName, string argValue);
```

**Type:** `string` · **Access:** read/write · **Index:** `argName` (`string`)

### Owner

*No description yet.*

```csharp
ILibraryComponent Get_Owner();
```

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

The accessors are extension methods of `IModelHelper` (`using SCH;`).

### UseComponentLibrary

*No description yet.*

```csharp
bool Get_UseComponentLibrary();
void Set_UseComponentLibrary(bool argValue);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [DeleteModelParameter](#deletemodelparameter) | `void` |  |
| [DeleteModelParameterByName](#deletemodelparameterbyname) | `void` |  |
| [GetModelParameterByName](#getmodelparameterbyname) | [IItemParameter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IItemParameter.md) |  |

### DeleteModelParameter

*No description yet.*

```csharp
void DeleteModelParameter(int argIndex);
```

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

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

### DeleteModelParameterByName

*No description yet.*

```csharp
void DeleteModelParameterByName(string argName);
```

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

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

### GetModelParameterByName

*No description yet.*

```csharp
IItemParameter GetModelParameterByName(string argName);
```

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

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

Extension method of `IModelHelper` (`using SCH;`).

## Returned by

[IIntegratedLibraryManager.GetModel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IIntegratedLibraryManager.md#getmodel)

## Accepted by

[IModelEditor.DrawModel_FromModel](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IModelEditor.md#drawmodel_frommodel), [IModelEditor.EditModel_1](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IModelEditor.md#editmodel_1)
