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

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

Apply Shaft Set

```csharp theme={null}
public abstract class ApplyDTEntity : OperationBase, IOperation
```

#### Inheritance

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

#### Derived

[ApplyBearing](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyBearing.md),
[ApplyClutch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyClutch.md),
[ApplyGearSet](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyGearSet.md),
[ApplyHousing](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyHousing.md),
[ApplyShaftSet](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyShaftSet.md)

#### Implements

IOperation

#### Inherited Members

OperationBase.g\_bRedrawKernel,
OperationBase.g\_bVerify,
OperationBase.g\_bSkipAddEvent,
OperationBase.g\_bDupicateMsg,
OperationBase.m\_bIsHistoryMerge,
OperationBase.Execute(),
OperationBase.PostExecute(),
OperationBase.GetInformation(XmlWriter),
OperationBase.Create(string, View, object),
OperationBase.Create(string, IDocument, object),
OperationBase.Create(string, object),
OperationBase.Create(string),
OperationBase.StartSession(),
OperationBase.StartSession(OperationBase, OperationBase.PostOperation),
OperationBase.StartSession(OperationBase),
OperationBase.StartSessionAndWait(),
OperationBase.StartSessionAndWait(OperationBase, OperationBase.PostOperation),
OperationBase.StartSessionAndWait(OperationBase),
OperationBase.Initialize(OperationBase.ShowVerifyResult),
OperationBase.RecordJournal(OperationBase),
OperationBase.UseSession(string),
OperationBase.raise\_OnOperationStatusChanged(object, OperationStatusEventArgs),
OperationBase.raise\_OnEndOperation(object, EventArgs),
OperationBase.ClearCurrentMark(string),
OperationBase.ClearCurrentMark(IDocument),
OperationBase.ClearCurrentMark(),
OperationBase.GlobalOverride,
OperationBase.IsDoingThread,
OperationBase.ExecuteMacro,
OperationBase.SimStatus,
OperationBase.Status,
OperationBase.autoEvents,
OperationBase.IsHistoryMerge,
OperationBase.SkipClearTemporaryLinkContainer,
OperationBase.PostExecuteClearTemporaryLinkContainer,
OperationBase.SkipEndOperation,
OperationBase.UseMacro,
OperationBase.MarkStatus,
OperationBase.UseThread,
OperationBase.Name,
OperationBase.ExecutableOnHold,
OperationBase.Override,
OperationBase.Parameter,
OperationBase.View,
OperationBase.Document,
OperationBase.OnEndOperation,
OperationBase.OnOperationStatusChanged

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

### ApplyDTEntity(GearTrainDocument, BodyToDTData\[], bool)

Initializes a new instance of the [ApplyShaftSet](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyShaftSet.md) class.

```csharp theme={null}
public ApplyDTEntity(GearTrainDocument gearTrainDocument, BodyToDTData[] arData, bool bRefresh)
```

#### Parameters

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

The document.

`arData` BodyToDTData\[]

The data.

`bRefresh` bool

The refresh flag.

### ApplyDTEntity(JournalParameter)

Initializes a new instance of the [ApplyShaftSet](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DAFUL.GearTrain.Operation.ApplyShaftSet.md) class.

```csharp theme={null}
public ApplyDTEntity(JournalParameter jp)
```

#### Parameters

`jp` JournalParameter

The jp.

## Fields

### m\_arData

data array

```csharp theme={null}
protected BodyToDTData[] m_arData
```

#### Field Value

BodyToDTData\[]

### m\_bRefresh

refresh flag

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

#### Field Value

bool

### m\_bSuccess

success flag

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

#### Field Value

bool

### m\_gearTrainDocument

gearTrain Document

```csharp theme={null}
protected GearTrainDocument m_gearTrainDocument
```

#### Field Value

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

## Properties

### Success

Gets the success flag

```csharp theme={null}
public bool Success { get; }
```

#### Property Value

bool

## Methods

### AppendEFHousing(string, string, string, ref List\<string>)

Append EF Housing

```csharp theme={null}
protected void AppendEFHousing(string strBodyName, string strDTName, string strPartPath, ref List<string> lstHiddenFilePath)
```

#### Parameters

`strBodyName` string

The body name

`strDTName` string

The dt name

`strPartPath` string

The part file path

`lstHiddenFilePath` List\<string>

The hidden file path

### AppendMeshFreeHousing(string, string, string, Body, ref List\<string>)

Append meshfree housing

```csharp theme={null}
protected virtual void AppendMeshFreeHousing(string strDTName, string strSolidName, string strPartPath, Body body, ref List<string> lstHiddenFilePath)
```

#### Parameters

`strDTName` string

The dt entity name

`strSolidName` string

The solid name

`strPartPath` string

The part path

`body` Body

The body

`lstHiddenFilePath` List\<string>

The hidden file path

### ApplySolidName(PartDocument, string)

```csharp theme={null}
protected void ApplySolidName(PartDocument document, string strSolidName)
```

#### Parameters

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

`strSolidName` string

### ChangeName(string, string)

Change name

```csharp theme={null}
protected ObjectBase ChangeName(string strOldDTName, string strDTName)
```

#### Parameters

`strOldDTName` string

`strDTName` string

#### Returns

ObjectBase

### CreateMeshFreeHousing(bool, string, string, Body, ref List\<string>)

Create meshfree housing

```csharp theme={null}
protected virtual IHousing CreateMeshFreeHousing(bool bShaft, string strDTName, string strSolidName, Body body, ref List<string> lstHiddenFilePath)
```

#### Parameters

`bShaft` bool

The shaft flag

`strDTName` string

The dt entity name

`strSolidName` string

The solid name

`body` Body

The body

`lstHiddenFilePath` List\<string>

The hidden file path

#### Returns

IHousing

### DeleteDTEntity(string)

Delete DT Entity

```csharp theme={null}
protected void DeleteDTEntity(string strCategoryName)
```

#### Parameters

`strCategoryName` string

### GetDuplicateEFHousing(string)

Gets the duplicate EF Housing

```csharp theme={null}
protected Dictionary<BodyToDTData, string> GetDuplicateEFHousing(string strType)
```

#### Parameters

`strType` string

The type

#### Returns

Dictionary\<BodyToDTData, string>

### GetInformation(XmlWriter)

Gets the information.

```csharp theme={null}
public override void GetInformation(XmlWriter writer)
```

#### Parameters

`writer` XmlWriter

The writer.

### GetSolidName(string)

```csharp theme={null}
protected string GetSolidName(string strBodyName)
```

#### Parameters

`strBodyName` string

#### Returns

string

### ReCreateMeshFreeHousing(bool, string, string, ref List\<string>)

Recreate meshfree housing

```csharp theme={null}
protected virtual IHousing ReCreateMeshFreeHousing(bool bShaft, string strBodyName, string strDTName, ref List<string> lstHiddenFilePath)
```

#### Parameters

`bShaft` bool

The shaft flag

`strBodyName` string

The body name

`strDTName` string

The dt entity name

`lstHiddenFilePath` List\<string>

The hidden file path

#### Returns

IHousing

### RemoveAttribute(IAttributeContainer)

Remove attribute

```csharp theme={null}
protected void RemoveAttribute(IAttributeContainer attrCont)
```

#### Parameters

`attrCont` IAttributeContainer

The attribute container

### SetAttribute(IAttributeContainer, string, bool, PowerLoadType, double, double, Vector)

Set attribute

```csharp theme={null}
protected void SetAttribute(IAttributeContainer attrCont, string strBodyName, bool bUsePowerLoad, PowerLoad.PowerLoadType powerLoadType, double dOffset, double dWidth, Vector vecAttachedAxis)
```

#### Parameters

`attrCont` IAttributeContainer

The attribute container

`strBodyName` string

The body name

`bUsePowerLoad` bool

The power load flag

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

The power load type

`dOffset` double

The power load offset

`dWidth` double

The power load width

`vecAttachedAxis` Vector

The attached axis
