    

 ## On this page

  

 

 # Interface IGearSet

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_GearTrain_IGearSet"></a>

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

The gearset interface

```csharp
public interface IGearSet

```

#### 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_)

## Properties

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_AddToShaft"></a> AddToShaft

Gets the flag whether this instance add to shaft or not.

```csharp
bool AddToShaft { get; }

```

#### Property Value

bool

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_GearBodies"></a> GearBodies

Gets or sets the gear bodies.

```csharp
Body[] GearBodies { get; set; }

```

#### Property Value

Body\[\]

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_GearBodiesExceptWeb"></a> GearBodiesExceptWeb

Gets the gear bodies except web.

```csharp
Body[] GearBodiesExceptWeb { get; }

```

#### Property Value

Body\[\]

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_PICandidates"></a> PICandidates

Gets the array of performance index candidate.

```csharp
PerformanceIndexInformation[] PICandidates { get; }

```

#### Property Value

[PerformanceIndexInformation](VM.Managed.DAFUL.GearTrain.PerformanceIndexInformation.md)\[\]

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_PairInfos"></a> PairInfos

Gets the gear pair information.

```csharp
GearPairInfoForSubsystem[] PairInfos { get; }

```

#### Property Value

[GearPairInfoForSubsystem](VM.Managed.DAFUL.GearTrain.GearPairInfoForSubsystem.md)\[\]

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_PropertyOfGearSet"></a> PropertyOfGearSet

Gets the property of gear set.

```csharp
PropertyGearSetBase PropertyOfGearSet { get; }

```

#### Property Value

[PropertyGearSetBase](VM.Managed.DAFUL.GearTrain.PropertyGearSetBase.md)

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_UseMeshing"></a> UseMeshing

Gets the flag whether this instance is meshing or not.

```csharp
bool UseMeshing { get; }

```

#### Property Value

bool

## Methods

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_AddBuilder_VM_Managed_CAD_Builder_"></a> AddBuilder(Builder)

Adds the builder.

```csharp
Body AddBuilder(Builder bui)

```

#### Parameters

`bui` Builder

The bui.

#### Returns

Body

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_AddPairInfo_VM_Managed_CAD_Body_VM_Managed_CAD_Body_"></a> AddPairInfo(Body, Body)

Adds the pair information.

```csharp
void AddPairInfo(Body target, Body tool)

```

#### Parameters

`target` Body

The target.

`tool` Body

The tool.

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_FillGearData_VM_Managed_Document_System_Int32_System_String_System_String___System_String___System_String___System_String___System_Boolean_System_Boolean_System_String_System_String___"></a> FillGearData(Document, int, string, string\[\], string\[\], string\[\], string\[\], bool, bool, string, string\[\])

Fill gear data

```csharp
bool FillGearData(Document doc, int nNGear, string strName, string[] CenterDistance, string[] NumberOfTeeth, string[] ProfileShift, string[] FaceWidth, bool bUseKissSoftInterface, bool bUseAdvanced, string Color, string[] InputArray)

```

#### Parameters

`doc` Document

The document

`nNGear` int

The No. of gear

`strName` string

The gear name

`CenterDistance` string\[\]

The gear center distance

`NumberOfTeeth` string\[\]

The No. of teeth

`ProfileShift` string\[\]

The profile shift

`FaceWidth` string\[\]

The face width

`bUseKissSoftInterface` bool

The kiss soft interface flag

`bUseAdvanced` bool

The advanced flag

`Color` string

The color

`InputArray` string\[\]

The input array for create

#### Returns

bool

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_GetBodyFromGeometryInfo_VM_Managed_DAFUL_GearTrain_GeometryInfoBase_"></a> GetBodyFromGeometryInfo(GeometryInfoBase)

Get body from geometry information.

```csharp
Body GetBodyFromGeometryInfo(GeometryInfoBase gInfo)

```

#### Parameters

`gInfo` [GeometryInfoBase](VM.Managed.DAFUL.GearTrain.GeometryInfoBase.md)

The geometry information.

#### Returns

Body

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_Meshing_System_Collections_Generic_List_VM_Managed_DAFUL_GearTrain_CAD_IGearBuilder__"></a> Meshing(List&lt;IGearBuilder&gt;)

Meshing the gears.

```csharp
bool Meshing(List<IGearBuilder> lstGB)

```

#### Parameters

`lstGB` List&lt;[IGearBuilder](VM.Managed.DAFUL.GearTrain.CAD.IGearBuilder.md)&gt;

The gear builder list.

#### Returns

bool

### <a id="VM_Managed_DAFUL_GearTrain_IGearSet_RemoveBuilder_VM_Managed_CAD_Builder_"></a> RemoveBuilder(Builder)

Removes the builder.

```csharp
void RemoveBuilder(Builder bui)

```

#### Parameters

`bui` Builder

The bui.