    

 ## On this page

  

 

 # Class GearSetBase&lt;T\\&gt;

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Builder.GearTrain](VM.Managed.DAFUL.Builder.GearTrain.md)  
Assembly: VMBldGearTrain.dll

```csharp
public abstract class GearSetBase<T> : OpenDesigner<T>, IBuilder where T : ObjectBase, new()

```

#### Type Parameters

`T`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← BuilderBase&lt;T&gt; ← BuilderSymmetric&lt;T&gt; ← BuilderNamed&lt;T&gt; ← [OpenDesigner&lt;T&gt;](VM.Managed.DAFUL.Builder.GearTrain.OpenDesigner-1.md) ← [GearSetBase&lt;T&gt;](VM.Managed.DAFUL.Builder.GearTrain.GearSetBase-1.md)

#### Implements

IBuilder

#### Inherited Members

[OpenDesigner&lt;T&gt;.OnPostBuild(ObjectBase, Document)](VM.Managed.DAFUL.Builder.GearTrain.OpenDesigner-1.md#VM_Managed_DAFUL_Builder_GearTrain_OpenDesigner_1_OnPostBuild_VM_Managed_ObjectBase_VM_Managed_Document_), [OpenDesigner&lt;T&gt;.OnPostAddDoc(ObjectBase)](VM.Managed.DAFUL.Builder.GearTrain.OpenDesigner-1.md#VM_Managed_DAFUL_Builder_GearTrain_OpenDesigner_1_OnPostAddDoc_VM_Managed_ObjectBase_), [OpenDesigner&lt;T&gt;.HiddenDocument](VM.Managed.DAFUL.Builder.GearTrain.OpenDesigner-1.md#VM_Managed_DAFUL_Builder_GearTrain_OpenDesigner_1_HiddenDocument), [OpenDesigner&lt;T&gt;.AlwaysDesignerOpen](VM.Managed.DAFUL.Builder.GearTrain.OpenDesigner-1.md#VM_Managed_DAFUL_Builder_GearTrain_OpenDesigner_1_AlwaysDesignerOpen), [OpenDesigner&lt;T&gt;.ShowDesigner](VM.Managed.DAFUL.Builder.GearTrain.OpenDesigner-1.md#VM_Managed_DAFUL_Builder_GearTrain_OpenDesigner_1_ShowDesigner), BuilderNamed&lt;T&gt;.OnPostBuild(ObjectBase, Document), BuilderNamed&lt;T&gt;.CheckUnit(Document3D, Document3D, string), BuilderNamed&lt;T&gt;.Name, BuilderSymmetric&lt;T&gt;.Build(Document), BuilderSymmetric&lt;T&gt;.Symmetric, BuilderSymmetric&lt;T&gt;.CurrentSymmetric, BuilderBase&lt;T&gt;.m\_bSuccess, BuilderBase&lt;T&gt;.Build(Document), BuilderBase&lt;T&gt;.Build(Document, List&lt;string&gt;), BuilderBase&lt;T&gt;.Validate(IList&lt;string&gt;), BuilderBase&lt;T&gt;.Success(), BuilderBase&lt;T&gt;.OnPostBuild(ObjectBase, Document), BuilderBase&lt;T&gt;.OnFinalBuild(string, Document), BuilderBase&lt;T&gt;.OnObjectChangeBuild(string, Document), BuilderBase&lt;T&gt;.OnPostAddDoc(ObjectBase), BuilderBase&lt;T&gt;.Parameters, BuilderBase&lt;T&gt;.AddToDoc, BuilderBase&lt;T&gt;.UseChangedObject, BuilderBase&lt;T&gt;.SetPointKey, BuilderBase&lt;T&gt;.BuildObject, BuilderBase&lt;T&gt;.BuildDocument, BuilderBase&lt;T&gt;.UseInterface, BuilderBase&lt;T&gt;.ErrorMessage

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### GearSetBase()

```csharp
protected GearSetBase()

```

## Fields

### m\_bUseAdvanced

```csharp
protected bool m_bUseAdvanced

```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### m\_bUseKissSoftInterface

```csharp
protected bool m_bUseKissSoftInterface

```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Properties

### CenterDistance

```csharp
protected virtual string[] CenterDistance { get; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[\]

### Color

```csharp
public string Color { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### FaceWidth

```csharp
protected virtual string[] FaceWidth { get; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[\]

### GetName

```csharp
protected virtual string GetName { get; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### InputArray

```csharp
public string[] InputArray { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[\]

### NumberOfGear

```csharp
protected virtual int NumberOfGear { get; }

```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### NumberOfTeeth

```csharp
protected virtual string[] NumberOfTeeth { get; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[\]

### ProfileShift

```csharp
protected virtual string[] ProfileShift { get; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)\[\]

## Methods

### OnPostAddDoc(ObjectBase)

```csharp
protected override void OnPostAddDoc(ObjectBase ob)

```

#### Parameters

`ob` ObjectBase

### OnPostBuild(ObjectBase, Document)

```csharp
protected override bool OnPostBuild(ObjectBase obCreated, Document doc)

```

#### Parameters

`obCreated` ObjectBase

`doc` Document

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Validate(IList&lt;string&gt;)

```csharp
public override bool Validate(IList<string> lstErrorMessage)

```

#### Parameters

`lstErrorMessage` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string)&gt;

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)