Class ApplyDTEntity
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.GearTrain.Operation
Assembly: VMOpGearTrain.dll
Apply Shaft Set
public abstract class ApplyDTEntity : OperationBase, IOperation
Inheritance
object ← OperationBase ← ApplyDTEntity
Derived
ApplyBearing, ApplyClutch, ApplyGearSet, ApplyHousing, ApplyShaftSet
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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
ApplyDTEntity(GearTrainDocument, BodyToDTData[], bool)
Initializes a new instance of the
public ApplyDTEntity(GearTrainDocument gearTrainDocument, BodyToDTData[] arData, bool bRefresh)
Parameters
gearTrainDocument GearTrainDocument
The document.
arData BodyToDTData[]
The data.
bRefresh bool
The refresh flag.
ApplyDTEntity(JournalParameter)
Initializes a new instance of the
public ApplyDTEntity(JournalParameter jp)
Parameters
jp JournalParameter
The jp.
Fields
m_arData
data array
protected BodyToDTData[] m_arData
Field Value
BodyToDTData[]
m_bRefresh
refresh flag
protected bool m_bRefresh
Field Value
m_bSuccess
success flag
protected bool m_bSuccess
Field Value
m_gearTrainDocument
gearTrain Document
protected GearTrainDocument m_gearTrainDocument
Field Value
GearTrainDocument
Properties
Success
Gets the success flag
public bool Success { get; }
Property Value
Methods
AppendEFHousing(string, string, string, ref List<string>)
Append EF Housing
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
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)
protected void ApplySolidName(PartDocument document, string strSolidName)
Parameters
document PartDocument
strSolidName string
ChangeName(string, string)
Change name
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
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
protected void DeleteDTEntity(string strCategoryName)
Parameters
strCategoryName string
GetDuplicateEFHousing(string)
Gets the duplicate EF Housing
protected Dictionary<BodyToDTData, string> GetDuplicateEFHousing(string strType)
Parameters
strType string
The type
Returns
Dictionary<BodyToDTData, string>
GetInformation(XmlWriter)
Gets the information.
public override void GetInformation(XmlWriter writer)
Parameters
writer XmlWriter
The writer.
GetSolidName(string)
protected string GetSolidName(string strBodyName)
Parameters
strBodyName string
Returns
ReCreateMeshFreeHousing(bool, string, string, ref List<string>)
Recreate meshfree housing
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
protected void RemoveAttribute(IAttributeContainer attrCont)
Parameters
attrCont IAttributeContainer
The attribute container
SetAttribute(IAttributeContainer, string, bool, PowerLoadType, double, double, Vector)
Set attribute
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.PowerLoadType
The power load type
dOffset double
The power load offset
dWidth double
The power load width
vecAttachedAxis Vector
The attached axis