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

# Class AddEntityBase

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

```csharp theme={null}
public class AddEntityBase : IBuilder
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[AddEntityBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Builder.GearTrain.AddEntityBase.md)

#### Derived

[AddBearingToRBEInMeshBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Builder.GearTrain.AddBearingToRBEInMeshBase.md),
[AddDesignerToShaftBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Builder.GearTrain.AddDesignerToShaftBase.md),
[AddGearEntityBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Builder.GearTrain.AddGearEntityBase.md),
[AddSlidingBearingToRBEInMeshBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.Builder.GearTrain.AddSlidingBearingToRBEInMeshBase.md)

#### Implements

IBuilder

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

## Constructors

### AddEntityBase()

```csharp theme={null}
public AddEntityBase()
```

## Fields

### m\_bSuccess

```csharp theme={null}
protected bool m_bSuccess
```

#### Field Value

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

## Properties

### AllowCheckError

```csharp theme={null}
public static bool AllowCheckError { get; set; }
```

#### Property Value

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

### BuildObject

```csharp theme={null}
public ObjectBase BuildObject { get; }
```

#### Property Value

ObjectBase

### InputArray

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

#### Property Value

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

### Parameters

```csharp theme={null}
public PickedResult[] Parameters { get; set; }
```

#### Property Value

PickedResult\[]

## Methods

### AddNewReference(ObjectBase)

```csharp theme={null}
protected void AddNewReference(ObjectBase objectBase)
```

#### Parameters

`objectBase` ObjectBase

### Build(Document)

```csharp theme={null}
public virtual void Build(Document docToAdd)
```

#### Parameters

`docToAdd` Document

### CheckMissShaft(string, double, double, double, string, string, ref double, ref ReferencePointType)

```csharp theme={null}
protected bool CheckMissShaft(string strRP, double dOffset, double dDepth, double shaftLength, string strError, string strCaption, ref double dTotalOffset, ref ReferencePointType typeRP)
```

#### Parameters

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

`dOffset` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dDepth` [double](https://learn.microsoft.com/dotnet/api/system.double)

`shaftLength` [double](https://learn.microsoft.com/dotnet/api/system.double)

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

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

`dTotalOffset` [double](https://learn.microsoft.com/dotnet/api/system.double)

`typeRP` ReferencePointType

#### Returns

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

### CheckNodesetWithTreatRBE(HiddenDocument, string)

```csharp theme={null}
protected bool CheckNodesetWithTreatRBE(HiddenDocument hiddenDoc, string strRBE)
```

#### Parameters

`hiddenDoc` HiddenDocument

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

#### Returns

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

### CheckOverlap(List\<double\[]>, double, double, string, string)

```csharp theme={null}
protected bool CheckOverlap(List<double[]> lstOverlap, double dTotalOffset, double dDepth, string strError, string strCaption)
```

#### Parameters

`lstOverlap` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[double](https://learn.microsoft.com/dotnet/api/system.double)\[]>

`dTotalOffset` [double](https://learn.microsoft.com/dotnet/api/system.double)

`dDepth` [double](https://learn.microsoft.com/dotnet/api/system.double)

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

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

#### Returns

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

### CheckSection(HiddenShaftSetDocument, string)

```csharp theme={null}
protected bool CheckSection(HiddenShaftSetDocument hiddenDoc, string strCaption)
```

#### Parameters

`hiddenDoc` HiddenShaftSetDocument

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

#### Returns

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

### GetGearInfo(GearTrainDocument, ref GearGeometryInfo, ref IGearSet, ref WebPropertyValue)

```csharp theme={null}
protected void GetGearInfo(GearTrainDocument docGT, ref GearGeometryInfo ggInfo, ref IGearSet gearSet, ref WebPropertyValue webValue)
```

#### Parameters

`docGT` GearTrainDocument

`ggInfo` GearGeometryInfo

`gearSet` IGearSet

`webValue` WebPropertyValue

### GetRollingBearingInfo(GearTrainDocument, ref RacewayGeometryInfo, ref Bearing)

```csharp theme={null}
protected void GetRollingBearingInfo(GearTrainDocument docGT, ref RacewayGeometryInfo geom_info, ref Bearing bearing)
```

#### Parameters

`docGT` GearTrainDocument

`geom_info` RacewayGeometryInfo

`bearing` Bearing

### GetSlidingBearingInfo(GearTrainDocument, ref SBGeometryInfo, ref SlidingBearing, ref enSBContactType)

```csharp theme={null}
protected void GetSlidingBearingInfo(GearTrainDocument docGT, ref SBGeometryInfo geom_info, ref SlidingBearing bearing, ref enSBContactType enCType)
```

#### Parameters

`docGT` GearTrainDocument

`geom_info` SBGeometryInfo

`bearing` SlidingBearing

`enCType` enSBContactType

### MatchGear(IGearSet, List\<IGearBuilder>)

```csharp theme={null}
protected void MatchGear(IGearSet gearSet, List<IGearBuilder> lstRes)
```

#### Parameters

`gearSet` IGearSet

`lstRes` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<IGearBuilder>

### SetClearance(ClearanceInfo)

```csharp theme={null}
protected void SetClearance(ClearanceInfo cInfo)
```

#### Parameters

`cInfo` ClearanceInfo

### SetColor(BuilderColor, BuilderColorGeom, AddedWebBuilder)

```csharp theme={null}
protected void SetColor(BuilderColor color, BuilderColorGeom gearsetBuilder, AddedWebBuilder webBuilder)
```

#### Parameters

`color` BuilderColor

`gearsetBuilder` BuilderColorGeom

`webBuilder` AddedWebBuilder

### Success()

```csharp theme={null}
public bool Success()
```

#### Returns

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

### Validate(IList\<string>)

```csharp theme={null}
public virtual bool Validate(IList<string> lstErrorMessage)
```

#### Parameters

`lstErrorMessage` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

#### Returns

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