> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IGearSet

Namespace: [VM.Managed.DAFUL.GearTrain](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain)\
Assembly: VMDGearTrain.dll

The gearset interface

```csharp theme={null}
public interface IGearSet
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Properties

### AddToShaft

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

```csharp theme={null}
bool AddToShaft { get; }
```

#### Property Value

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

### GearBodies

Gets or sets the gear bodies.

```csharp theme={null}
Body[] GearBodies { get; set; }
```

#### Property Value

Body\[]

### GearBodiesExceptWeb

Gets the gear bodies except web.

```csharp theme={null}
Body[] GearBodiesExceptWeb { get; }
```

#### Property Value

Body\[]

### PICandidates

Gets the array of performance index candidate.

```csharp theme={null}
PerformanceIndexInformation[] PICandidates { get; }
```

#### Property Value

[PerformanceIndexInformation](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.PerformanceIndexInformation.md)\[]

### PairInfos

Gets the gear pair information.

```csharp theme={null}
GearPairInfoForSubsystem[] PairInfos { get; }
```

#### Property Value

[GearPairInfoForSubsystem](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GearPairInfoForSubsystem.md)\[]

### PropertyOfGearSet

Gets the property of gear set.

```csharp theme={null}
PropertyGearSetBase PropertyOfGearSet { get; }
```

#### Property Value

[PropertyGearSetBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.PropertyGearSetBase.md)

### UseMeshing

Gets the flag whether this instance is meshing or not.

```csharp theme={null}
bool UseMeshing { get; }
```

#### Property Value

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

## Methods

### AddBuilder(Builder)

Adds the builder.

```csharp theme={null}
Body AddBuilder(Builder bui)
```

#### Parameters

`bui` Builder

The bui.

#### Returns

Body

### AddPairInfo(Body, Body)

Adds the pair information.

```csharp theme={null}
void AddPairInfo(Body target, Body tool)
```

#### Parameters

`target` Body

The target.

`tool` Body

The tool.

### FillGearData(Document, int, string, string\[], string\[], string\[], string\[], bool, bool, string, string\[])

Fill gear data

```csharp theme={null}
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](https://learn.microsoft.com/dotnet/api/system.int32)

The No. of gear

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

The gear name

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

The gear center distance

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

The No. of teeth

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

The profile shift

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

The face width

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

The kiss soft interface flag

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

The advanced flag

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

The color

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

The input array for create

#### Returns

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

### GetBodyFromGeometryInfo(GeometryInfoBase)

Get body from geometry information.

```csharp theme={null}
Body GetBodyFromGeometryInfo(GeometryInfoBase gInfo)
```

#### Parameters

`gInfo` [GeometryInfoBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.GeometryInfoBase.md)

The geometry information.

#### Returns

Body

### Meshing(List\<IGearBuilder>)

Meshing the gears.

```csharp theme={null}
bool Meshing(List<IGearBuilder> lstGB)
```

#### Parameters

`lstGB` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[IGearBuilder](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.GearTrain.CAD.IGearBuilder.md)>

The gear builder list.

#### Returns

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

### RemoveBuilder(Builder)

Removes the builder.

```csharp theme={null}
void RemoveBuilder(Builder bui)
```

#### Parameters

`bui` Builder

The bui.
