
# INetProperties interface

*No description yet.*

```csharp
public interface INetProperties
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [ConstraintObjectVisibility](#constraintobjectvisibility) | `bool` | get; set |  |
| [NetColor](#netcolor) | `uint` | get; set |  |

### ConstraintObjectVisibility

*No description yet.*

```csharp
bool GetConstraintObjectVisibility(object argSchConstraint);
void SetConstraintObjectVisibility(object argSchConstraint, bool argVisible);
```

**Type:** `bool` · **Access:** read/write · **Index:** `argSchConstraint` (`object`)

### NetColor

*No description yet.*

```csharp
uint GetNetColor();
void SetNetColor(uint argNetColorIndex);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [AddOrUpdateConstraintRule](#addorupdateconstraintrule) | `object` |  |
| [ClearNetColor](#clearnetcolor) | `void` |  |
| [GetClass](#getclass) | [IParameterProperties](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IParameterProperties.md) |  |
| [GetClassesCount](#getclassescount) | `int` |  |
| [GetConstraintCleranceMatrixRule](#getconstraintclerancematrixrule) | `object` |  |
| [GetConstraintCleranceMatrixRulesCount](#getconstraintclerancematrixrulescount) | `int` |  |
| [GetConstraintDiffPair](#getconstraintdiffpair) | `object` |  |
| [GetConstraintDiffPairClass](#getconstraintdiffpairclass) | `object` |  |
| [GetConstraintDiffPairClassesCount](#getconstraintdiffpairclassescount) | `int` |  |
| [GetConstraintDiffPairsCount](#getconstraintdiffpairscount) | `int` |  |
| [GetConstraintNetClass](#getconstraintnetclass) | `object` |  |
| [GetConstraintNetClassesCount](#getconstraintnetclassescount) | `int` |  |
| [GetConstraintRule](#getconstraintrule) | `object` |  |
| [GetConstraintRulesCount](#getconstraintrulescount) | `int` |  |
| [GetDifferentialPairName](#getdifferentialpairname) | `string` |  |
| [GetGlobalName](#getglobalname) | `string` |  |
| [GetLocalName](#getlocalname) | `string` |  |
| [GetParameter](#getparameter) | [IParameterProperties](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IParameterProperties.md) |  |
| [GetParametersCount](#getparameterscount) | `int` |  |
| [GetParameterSet](#getparameterset) | `object` |  |
| [GetRule](#getrule) | [IParameterProperties](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IParameterProperties.md) |  |
| [GetRulesCount](#getrulescount) | `int` |  |
| [IsConstraintObjectNameValid](#isconstraintobjectnamevalid) | `bool` |  |
| [IsHighSpeedNet](#ishighspeednet) | `bool` |  |
| [IsLockedByImportToConstraintManager](#islockedbyimporttoconstraintmanager) | `bool` |  |
| [IsPowerNet](#ispowernet) | `bool` |  |
| [RemoveConstraintRule](#removeconstraintrule) | `bool` |  |
| [SetConstraintObjectName](#setconstraintobjectname) | `bool` |  |
| [SetCustomNetColor](#setcustomnetcolor) | `void` |  |

### AddOrUpdateConstraintRule

*No description yet.*

```csharp
object AddOrUpdateConstraintRule(string argUniqueId, int argKind, string argName, string argDescription, string argttributes);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argUniqueId` | `string` | value |
| `argKind` | `int` | value |
| `argName` | `string` | value |
| `argDescription` | `string` | value |
| `argttributes` | `string` | value |

**Returns:** `object`

### ClearNetColor

*No description yet.*

```csharp
void ClearNetColor();
```

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

### GetClass

*No description yet.*

```csharp
IParameterProperties GetClass(int argIndex);
```

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

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

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

### GetClassesCount

*No description yet.*

```csharp
int GetClassesCount();
```

**Returns:** `int`

### GetConstraintCleranceMatrixRule

*No description yet.*

```csharp
object GetConstraintCleranceMatrixRule(int argIndex);
```

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

**Returns:** `object`

### GetConstraintCleranceMatrixRulesCount

*No description yet.*

```csharp
int GetConstraintCleranceMatrixRulesCount();
```

**Returns:** `int`

### GetConstraintDiffPair

*No description yet.*

```csharp
object GetConstraintDiffPair(int argIndex);
```

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

**Returns:** `object`

### GetConstraintDiffPairClass

*No description yet.*

```csharp
object GetConstraintDiffPairClass(int argIndex);
```

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

**Returns:** `object`

### GetConstraintDiffPairClassesCount

*No description yet.*

```csharp
int GetConstraintDiffPairClassesCount();
```

**Returns:** `int`

### GetConstraintDiffPairsCount

*No description yet.*

```csharp
int GetConstraintDiffPairsCount();
```

**Returns:** `int`

### GetConstraintNetClass

*No description yet.*

```csharp
object GetConstraintNetClass(int argIndex);
```

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

**Returns:** `object`

### GetConstraintNetClassesCount

*No description yet.*

```csharp
int GetConstraintNetClassesCount();
```

**Returns:** `int`

### GetConstraintRule

*No description yet.*

```csharp
object GetConstraintRule(int argIndex);
```

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

**Returns:** `object`

### GetConstraintRulesCount

*No description yet.*

```csharp
int GetConstraintRulesCount();
```

**Returns:** `int`

### GetDifferentialPairName

*No description yet.*

```csharp
string GetDifferentialPairName();
```

**Returns:** `string`

### GetGlobalName

*No description yet.*

```csharp
string GetGlobalName();
```

**Returns:** `string`

### GetLocalName

*No description yet.*

```csharp
string GetLocalName();
```

**Returns:** `string`

### GetParameter

*No description yet.*

```csharp
IParameterProperties GetParameter(int argIndex);
```

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

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

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

### GetParametersCount

*No description yet.*

```csharp
int GetParametersCount();
```

**Returns:** `int`

### GetParameterSet

*No description yet.*

```csharp
object GetParameterSet();
```

**Returns:** `object`

### GetRule

*No description yet.*

```csharp
IParameterProperties GetRule(int argIndex);
```

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

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

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

### GetRulesCount

*No description yet.*

```csharp
int GetRulesCount();
```

**Returns:** `int`

### IsConstraintObjectNameValid

*No description yet.*

```csharp
bool IsConstraintObjectNameValid(string argNewName);
```

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

**Returns:** `bool`

### IsHighSpeedNet

*No description yet.*

```csharp
bool IsHighSpeedNet();
```

**Returns:** `bool`

### IsLockedByImportToConstraintManager

*No description yet.*

```csharp
bool IsLockedByImportToConstraintManager();
```

**Returns:** `bool`

### IsPowerNet

*No description yet.*

```csharp
bool IsPowerNet();
```

**Returns:** `bool`

### RemoveConstraintRule

*No description yet.*

```csharp
bool RemoveConstraintRule(object argSchConstraint);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argSchConstraint` | `object` | value |

**Returns:** `bool`

### SetConstraintObjectName

*No description yet.*

```csharp
bool SetConstraintObjectName(object argSchConstraintClass, string argNewName);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argSchConstraintClass` | `object` | value |
| `argNewName` | `string` | value |

**Returns:** `bool`

### SetCustomNetColor

*No description yet.*

```csharp
void SetCustomNetColor(uint argCustomNetColor);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCustomNetColor` | `uint` | value |

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

## Returned by

[IDocument.DM_GetNetProperties](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/IDocument.md#dm_getnetproperties)
