> ## 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/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/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/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/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

### 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/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/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/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

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

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

### 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/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\<[IGearBuilder](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.CAD.IGearBuilder.md)>

The gear builder list.

#### Returns

bool

### RemoveBuilder(Builder)

Removes the builder.

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

#### Parameters

`bui` Builder

The bui.
