
# ISourceConstraint interface

*No description yet.*

```csharp
public interface ISourceConstraint
```

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

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [BusPrefix](#busprefix) | `string` | get; set |  |
| [RangeValue1](#rangevalue1) | `int` | get; set |  |
| [RangeValue2](#rangevalue2) | `int` | get; set |  |
| [SourceName](#sourcename) | `string` | get; set |  |
| [TargetName](#targetname) | `string` | get; set |  |
| [Value](#value) | `string` | get; set |  |

### BusPrefix

*No description yet.*

```csharp
string GetBusPrefix();
void SetBusPrefix(string argValue);
```

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

### RangeValue1

*No description yet.*

```csharp
int GetRangeValue1();
void SetRangeValue1(int argValue);
```

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

### RangeValue2

*No description yet.*

```csharp
int GetRangeValue2();
void SetRangeValue2(int argValue);
```

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

### SourceName

*No description yet.*

```csharp
string GetSourceName();
void SetSourceName(string argValue);
```

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

### TargetName

*No description yet.*

```csharp
string GetTargetName();
void SetTargetName(string argValue);
```

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

### Value

*No description yet.*

```csharp
string GetValue();
void SetValue(string argValue);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [CategorySet](#categoryset) | [TVendorCategorySet](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/TVendorCategorySet.md) |  |
| [CreateAllTargetConstraints](#createalltargetconstraints) | `void` |  |

### CategorySet

*No description yet.*

```csharp
TVendorCategorySet CategorySet();
```

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

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

### CreateAllTargetConstraints

*No description yet.*

```csharp
void CreateAllTargetConstraints();
```

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

## Returned by

[IVendorConstraintsManager.CreateConstraintByName](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IVendorConstraintsManager.md#createconstraintbyname)

## Accepted by

[IVendorConstraintsManager.AddSourceConstraint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IVendorConstraintsManager.md#addsourceconstraint)
