> ## 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/lib/VM.Managed.DAFUL.Builder.GearTrain)\
Assembly: VMBldGearTrain.dll

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

#### Inheritance

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

#### Derived

[AddBearingToRBEInMeshBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Builder.GearTrain.AddBearingToRBEInMeshBase.md),
[AddDesignerToShaftBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Builder.GearTrain.AddDesignerToShaftBase.md),
[AddGearEntityBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.Builder.GearTrain.AddGearEntityBase.md),
[AddSlidingBearingToRBEInMeshBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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_)

## Constructors

### AddEntityBase()

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

## Fields

### m\_bSuccess

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

#### Field Value

bool

## Properties

### AllowCheckError

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

#### Property Value

bool

### BuildObject

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

#### Property Value

ObjectBase

### InputArray

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

#### Property Value

string\[]

### Parameters

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

#### Property Value

[PickedResult](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Builders/VMBld/PickedResult.cs)\[]

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

`dOffset` double

`dDepth` double

`shaftLength` double

`strError` string

`strCaption` string

`dTotalOffset` double

`typeRP` ReferencePointType

#### Returns

bool

### CheckNodesetWithTreatRBE(HiddenDocument, string)

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

#### Parameters

`hiddenDoc` [HiddenDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDFBase/HiddenDocument.cs)

`strRBE` string

#### Returns

bool

### 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\<double\[]>

`dTotalOffset` double

`dDepth` double

`strError` string

`strCaption` string

#### Returns

bool

### CheckSection(HiddenShaftSetDocument, string)

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

#### Parameters

`hiddenDoc` [HiddenShaftSetDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/HiddenShaftSetDocument.cs)

`strCaption` string

#### Returns

bool

### 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](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`ggInfo` [GearGeometryInfo](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearGeometryInfo.cs)

`gearSet` IGearSet

`webValue` [WebPropertyValue](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearInfo.cs)

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

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

#### Parameters

`docGT` [GearTrainDocument](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`geom_info` [RacewayGeometryInfo](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/BearingRacewayGeometryInfo.cs)

`bearing` [Bearing](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/Bearing.cs)

### 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](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GearTrainDocument.cs)

`geom_info` [SBGeometryInfo](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/SlidingBearing.cs)

`bearing` [SlidingBearing](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/SlidingBearing.cs)

`enCType` enSBContactType

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

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

#### Parameters

`gearSet` IGearSet

`lstRes` List\<IGearBuilder>

### SetClearance(ClearanceInfo)

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

#### Parameters

`cInfo` [ClearanceInfo](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/GeometryInfoBase.cs)

### SetColor(BuilderColor, BuilderColorGeom, AddedWebBuilder)

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

#### Parameters

`color` BuilderColor

`gearsetBuilder` BuilderColorGeom

`webBuilder` [AddedWebBuilder](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/WebBuilder.cs)

### Success()

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

#### Returns

bool

### Validate(IList\<string>)

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

#### Parameters

`lstErrorMessage` IList\<string>

#### Returns

bool
