    

 ## On this page

  

 

 # Class ApplyMotorDesigner

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_GearTrain_Operation_ApplyMotorDesigner"></a>

Namespace: [VM.Managed.DAFUL.GearTrain.Operation](VM.Managed.DAFUL.GearTrain.Operation.md)  
Assembly: VMOpGearTrain.dll

motor designer operation

```csharp
public class ApplyMotorDesigner : OperationBase, IOperation

```

#### Inheritance

object ← OperationBase ← [ApplyMotorDesigner](VM.Managed.DAFUL.GearTrain.Operation.ApplyMotorDesigner.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)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_DAFUL_GearTrain_Operation_ApplyMotorDesigner__ctor_VM_Managed_DAFUL_GearTrain_GearTrainDocument_VM_Managed_DAFUL_GearTrain_MotorDesigner_System_Boolean_System_Boolean_System_Boolean_VM_Managed_DAFUL_GearTrain_MotorDesigner_EMForceSection_MethodBase_"></a> ApplyMotorDesigner(GearTrainDocument, MotorDesigner, bool, bool, bool, MethodBase)

Initializes a new instance of the  class.

```csharp
public ApplyMotorDesigner(GearTrainDocument doc, MotorDesigner motorDesigner, bool bHousingModified, bool bStatorModified, bool bRotorModified, MotorDesigner.EMForceSection.MethodBase oldMethod)

```

#### Parameters

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

The document.

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

The motor designer.

`bHousingModified` bool

The housing modified flag.

`bStatorModified` bool

The stator modified flag.

`bRotorModified` bool

The rotor modified flag.

`oldMethod` [MotorDesigner](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/MotorDesigner.cs).[EMForceSection](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/MotorDesigner.cs).[MethodBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMDGearTrain/MotorDesigner.cs)

The old em force method.

## Properties

### <a id="VM_Managed_DAFUL_GearTrain_Operation_ApplyMotorDesigner_Name"></a> Name

Gets the name.

```csharp
public override string Name { get; }

```

#### Property Value

string

## Methods

### <a id="VM_Managed_DAFUL_GearTrain_Operation_ApplyMotorDesigner_Execute"></a> Execute()

Executes this instance.

```csharp
public override void Execute()

```