Class AddEntityBase
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Builder.GearTrain
Assembly: VMBldGearTrain.dll
public class AddEntityBase : IBuilder
Inheritance
Derived
AddBearingToRBEInMeshBase, AddDesignerToShaftBase, AddGearEntityBase, AddSlidingBearingToRBEInMeshBase
Implements
IBuilder
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
AddEntityBase()
public AddEntityBase()
Fields
m_bSuccess
protected bool m_bSuccess
Field Value
Properties
AllowCheckError
public static bool AllowCheckError { get; set; }
Property Value
BuildObject
public ObjectBase BuildObject { get; }
Property Value
ObjectBase
InputArray
public string[] InputArray { get; set; }
Property Value
string[]
Parameters
public PickedResult[] Parameters { get; set; }
Property Value
PickedResult[]
Methods
AddNewReference(ObjectBase)
protected void AddNewReference(ObjectBase objectBase)
Parameters
objectBase ObjectBase
Build(Document)
public virtual void Build(Document docToAdd)
Parameters
docToAdd Document
CheckMissShaft(string, double, double, double, string, string, ref double, ref ReferencePointType)
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
CheckNodesetWithTreatRBE(HiddenDocument, string)
protected bool CheckNodesetWithTreatRBE(HiddenDocument hiddenDoc, string strRBE)
Parameters
hiddenDoc HiddenDocument
strRBE string
Returns
CheckOverlap(List, double, double, string, string)
protected bool CheckOverlap(List<double> lstOverlap, double dTotalOffset, double dDepth, string strError, string strCaption)
Parameters
dTotalOffset double
dDepth double
strError string
strCaption string
Returns
CheckSection(HiddenShaftSetDocument, string)
protected bool CheckSection(HiddenShaftSetDocument hiddenDoc, string strCaption)
Parameters
hiddenDoc HiddenShaftSetDocument
strCaption string
Returns
GetGearInfo(GearTrainDocument, ref GearGeometryInfo, ref IGearSet, ref WebPropertyValue)
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)
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)
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)
protected void MatchGear(IGearSet gearSet, List<igearbuilder> lstRes)
Parameters
gearSet IGearSet
lstRes List
SetClearance(ClearanceInfo)
protected void SetClearance(ClearanceInfo cInfo)
Parameters
cInfo ClearanceInfo
SetColor(BuilderColor, BuilderColorGeom, AddedWebBuilder)
protected void SetColor(BuilderColor color, BuilderColorGeom gearsetBuilder, AddedWebBuilder webBuilder)
Parameters
color BuilderColor
gearsetBuilder BuilderColorGeom
webBuilder AddedWebBuilder
Success()
public bool Success()
Returns
Validate(IList)
public virtual bool Validate(IList<string> lstErrorMessage)
Parameters
lstErrorMessage IListstring>