Class AddEntityBase
Last update: 09.03.2026Namespace: VM.Managed.DAFUL.Builder.GearTrain
Assembly: VMBldGearTrain.dll
public class AddEntityBase : IBuilder
Inheritance
object ← AddEntityBase
Derived
AddBearingToRBEInMeshBase, AddDesignerToShaftBase, AddGearEntityBase, AddSlidingBearingToRBEInMeshBase
Implements
IBuilder
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
AddEntityBase()
public AddEntityBase()
Fields
m_bSuccess
protected bool m_bSuccess
Field Value
bool
Properties
AllowCheckError
public static bool AllowCheckError { get; set; }
Property Value
bool
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
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
bool
CheckNodesetWithTreatRBE(HiddenDocument, string)
protected bool CheckNodesetWithTreatRBE(HiddenDocument hiddenDoc, string strRBE)
Parameters
hiddenDoc HiddenDocument
strRBE string
Returns
bool
CheckOverlap(List<double[]>, double, double, string, string)
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)
protected bool CheckSection(HiddenShaftSetDocument hiddenDoc, string strCaption)
Parameters
hiddenDoc HiddenShaftSetDocument
strCaption string
Returns
bool
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<IGearBuilder>)
protected void MatchGear(IGearSet gearSet, List<IGearBuilder> lstRes)
Parameters
gearSet IGearSet
lstRes List<IGearBuilder>
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
bool
Validate(IList<string>)
public virtual bool Validate(IList<string> lstErrorMessage)
Parameters
lstErrorMessage IList<string>
Returns
bool