
# ISch_HarnessWire interface

*No description yet.*

```csharp
public interface ISch_HarnessWire : ISch_Wire
```

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

**Inherits:** [ISch_BasicContainer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md) → [ISch_GraphicalObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md) → [ISch_Polygon](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md) → [ISch_BasicPolyline](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicPolyline.md) → [ISch_Wire](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md)

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [BorderColor](#bordercolor) | `int` | get; set |  |
| [BorderColorName](#bordercolorname) | `string` | get; set |  |
| [ComponentKind](#componentkind) | [TComponentKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TComponentKind.md) | get; set |  |
| [ConnectedCablesUniqueIdsCount](#connectedcablesuniqueidscount) | `int` | get |  |
| [ConnectedCableUniqueId](#connectedcableuniqueid) | `string` | get |  |
| [ConnectedInlineSplicesUniqueIdsCount](#connectedinlinesplicesuniqueidscount) | `int` | get |  |
| [ConnectedInlineSpliceUniqueId](#connectedinlinespliceuniqueid) | `string` | get |  |
| [ConnectedShieldsUniqueIdsCount](#connectedshieldsuniqueidscount) | `int` | get |  |
| [ConnectedShieldUniqueId](#connectedshielduniqueid) | `string` | get |  |
| [ConnectedTwistsUniqueIdsCount](#connectedtwistsuniqueidscount) | `int` | get |  |
| [ConnectedTwistUniqueId](#connectedtwistuniqueid) | `string` | get |  |
| [ConnectedWireLabelsUniqueIdsCount](#connectedwirelabelsuniqueidscount) | `int` | get |  |
| [ConnectedWireLabelUniqueId](#connectedwirelabeluniqueid) | `string` | get |  |
| [DesignatorLocked](#designatorlocked) | `bool` | get; set |  |
| [EndVertex1ConnectedObjectUniqueId](#endvertex1connectedobjectuniqueid) | `string` | get |  |
| [EndVertex2ConnectedObjectUniqueId](#endvertex2connectedobjectuniqueid) | `string` | get |  |
| [IsConnectedToAnyCable](#isconnectedtoanycable) | `bool` | get |  |
| [IsConnectedToAnyInlineSplice](#isconnectedtoanyinlinesplice) | `bool` | get |  |
| [IsConnectedToAnyShield](#isconnectedtoanyshield) | `bool` | get |  |
| [IsConnectedToAnyTwist](#isconnectedtoanytwist) | `bool` | get |  |
| [IsConnectedToAnyWireLabel](#isconnectedtoanywirelabel) | `bool` | get |  |
| [IsEndVertex1ConnectedToAnyObject](#isendvertex1connectedtoanyobject) | `bool` | get |  |
| [IsEndVertex2ConnectedToAnyObject](#isendvertex2connectedtoanyobject) | `bool` | get |  |
| [IsHighlighted](#ishighlighted) | `bool` | get |  |
| [PrimaryColorName](#primarycolorname) | `string` | get; set |  |
| [SchComment](#schcomment) | [ISch_Parameter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Parameter.md) | get |  |
| [SchDescription](#schdescription) | [ISch_Parameter](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Parameter.md) | get |  |
| [SchDesignator](#schdesignator) | [ISch_Designator](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Designator.md) | get |  |
| [SecondaryColor](#secondarycolor) | `int` | get; set |  |
| [SecondaryColorName](#secondarycolorname) | `string` | get; set |  |
| [TertiaryColor](#tertiarycolor) | `int` | get; set |  |
| [TertiaryColorName](#tertiarycolorname) | `string` | get; set |  |

### BorderColor

*No description yet.*

```csharp
int GetState_BorderColor();
void SetState_BorderColor(int argColor);
```

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

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

### BorderColorName

*No description yet.*

```csharp
string GetState_BorderColorName();
void SetState_BorderColorName(string argColorName);
```

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

### ComponentKind

*No description yet.*

```csharp
TComponentKind GetState_ComponentKind();
void SetState_ComponentKind(TComponentKind argValue);
```

**Type:** [TComponentKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/TComponentKind.md) · **Access:** read/write

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

### ConnectedCablesUniqueIdsCount

*No description yet.*

```csharp
int GetState_ConnectedCablesUniqueIdsCount();
```

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

### ConnectedCableUniqueId

*No description yet.*

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

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

### ConnectedInlineSplicesUniqueIdsCount

*No description yet.*

```csharp
int GetState_ConnectedInlineSplicesUniqueIdsCount();
```

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

### ConnectedInlineSpliceUniqueId

*No description yet.*

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

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

### ConnectedShieldsUniqueIdsCount

*No description yet.*

```csharp
int GetState_ConnectedShieldsUniqueIdsCount();
```

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

### ConnectedShieldUniqueId

*No description yet.*

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

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

### ConnectedTwistsUniqueIdsCount

*No description yet.*

```csharp
int GetState_ConnectedTwistsUniqueIdsCount();
```

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

### ConnectedTwistUniqueId

*No description yet.*

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

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

### ConnectedWireLabelsUniqueIdsCount

*No description yet.*

```csharp
int GetState_ConnectedWireLabelsUniqueIdsCount();
```

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

### ConnectedWireLabelUniqueId

*No description yet.*

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

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

### DesignatorLocked

*No description yet.*

```csharp
bool GetState_DesignatorLocked();
void SetState_DesignatorLocked(bool argValue);
```

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

### EndVertex1ConnectedObjectUniqueId

*No description yet.*

```csharp
string GetState_EndVertex1ConnectedObjectUniqueId();
```

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

### EndVertex2ConnectedObjectUniqueId

*No description yet.*

```csharp
string GetState_EndVertex2ConnectedObjectUniqueId();
```

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

### IsConnectedToAnyCable

*No description yet.*

```csharp
bool GetState_IsConnectedToAnyCable();
```

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

### IsConnectedToAnyInlineSplice

*No description yet.*

```csharp
bool GetState_IsConnectedToAnyInlineSplice();
```

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

### IsConnectedToAnyShield

*No description yet.*

```csharp
bool GetState_IsConnectedToAnyShield();
```

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

### IsConnectedToAnyTwist

*No description yet.*

```csharp
bool GetState_IsConnectedToAnyTwist();
```

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

### IsConnectedToAnyWireLabel

*No description yet.*

```csharp
bool GetState_IsConnectedToAnyWireLabel();
```

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

### IsEndVertex1ConnectedToAnyObject

*No description yet.*

```csharp
bool GetState_IsEndVertex1ConnectedToAnyObject();
```

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

### IsEndVertex2ConnectedToAnyObject

*No description yet.*

```csharp
bool GetState_IsEndVertex2ConnectedToAnyObject();
```

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

### IsHighlighted

*No description yet.*

```csharp
bool GetState_IsHighlighted();
```

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

### PrimaryColorName

*No description yet.*

```csharp
string GetState_PrimaryColorName();
void SetState_PrimaryColorName(string argColorName);
```

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

### SchComment

*No description yet.*

```csharp
ISch_Parameter GetState_SchComment();
```

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

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

### SchDescription

*No description yet.*

```csharp
ISch_Parameter GetState_SchDescription();
```

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

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

### SchDesignator

*No description yet.*

```csharp
ISch_Designator GetState_SchDesignator();
```

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

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

### SecondaryColor

*No description yet.*

```csharp
int GetState_SecondaryColor();
void SetState_SecondaryColor(int argColor);
```

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

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

### SecondaryColorName

*No description yet.*

```csharp
string GetState_SecondaryColorName();
void SetState_SecondaryColorName(string argColorName);
```

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

### TertiaryColor

*No description yet.*

```csharp
int GetState_TertiaryColor();
void SetState_TertiaryColor(int argColor);
```

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

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

### TertiaryColorName

*No description yet.*

```csharp
string GetState_TertiaryColorName();
void SetState_TertiaryColorName(string argColorName);
```

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

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [RestoreProperties](#restoreproperties) | `void` |  |
| [SaveProperties](#saveproperties) | `void` |  |

### RestoreProperties

*No description yet.*

```csharp
void RestoreProperties();
```

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

### SaveProperties

*No description yet.*

```csharp
void SaveProperties();
```

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

## Inherited members

- From [ISch_Wire](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md): [AutoWire](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md#autowire), [CompilationMaskedSegment](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md#compilationmaskedsegment), [EditingEndPoint](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md#editingendpoint), [OrderCrossOverArray](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md#ordercrossoverarray), [ResetCompilationMaskedSegments](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md#resetcompilationmaskedsegments), [UnderlineColor](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Wire.md#underlinecolor)
- From [ISch_BasicPolyline](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicPolyline.md): [LineStyle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicPolyline.md#linestyle)
- From [ISch_Polygon](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md): [ClearAllVertices](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#clearallvertices), [InsertVertex](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#insertvertex), [IsSolid](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#issolid), [LineWidth](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#linewidth), [RemoveVertex](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#removevertex), [Transparent](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#transparent), [Vertex](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#vertex), [VerticesCount](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_Polygon.md#verticescount)
- From [ISch_GraphicalObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md): [AddErrorString](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#adderrorstring), [AreaColor](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#areacolor), [BoundingRectangle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#boundingrectangle), [BoundingRectangle_Full](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#boundingrectangle_full), [Color](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#color), [CompilationMasked](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#compilationmasked), [Dimmed](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#dimmed), [Disabled](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#disabled), [DisplayError](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#displayerror), [EnableDraw](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#enabledraw), [ErrorColor](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#errorcolor), [ErrorKind](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#errorkind), [ErrorString](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#errorstring), [GetHash](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#gethash), [GraphicallyInvalidate](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#graphicallyinvalidate), [LiveHighlightValue](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#livehighlightvalue), [Location](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#location), [Mirror](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#mirror), [MoveByXY](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#movebyxy), [MoveToXY](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#movetoxy), [OwnerPartDisplayMode](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#ownerpartdisplaymode), [OwnerPartId](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#ownerpartid), [ResetErrorFields](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#reseterrorfields), [RotateBy90](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#rotateby90), [Selection](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#selection), [SetState_xSizeySize](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_GraphicalObject.md#setstate_xsizeysize)
- From [ISch_BasicContainer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md): [AddAndPositionSchObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#addandpositionschobject), [AddSchObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#addschobject), [CopyTo](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#copyto), [DeleteAll](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#deleteall), [DescriptionString](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#descriptionstring), [ExportToParameters](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#exporttoparameters), [FreeAllContainedObjects](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#freeallcontainedobjects), [Handle](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#handle), [IdentifierString](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#identifierstring), [Import_FromUser](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#import_fromuser), [ObjectId](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#objectid), [OwnerSchDocument](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#ownerschdocument), [RemoveSchObject](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#removeschobject), [Replicate](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#replicate), [SchBasicContainer](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#schbasiccontainer), [SchIterator_Create](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#schiterator_create), [SchIterator_Destroy](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#schiterator_destroy), [SchParameterByName](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#schparameterbyname), [Setstate_Default](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#setstate_default), [Text](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#text), [UniqueId](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#uniqueid), [WiringDiagramOriginUniqueId](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/ISch_BasicContainer.md#wiringdiagramoriginuniqueid)
