Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class AddEntityBase

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.Builder.GearTrain
Assembly: VMBldGearTrain.dll

public class AddEntityBase : IBuilder

Inheritance

objectAddEntityBase

Derived

AddBearingToRBEInMeshBase, AddDesignerToShaftBase, AddGearEntityBase, AddSlidingBearingToRBEInMeshBase

Implements

IBuilder

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(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

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

bool

CheckNodesetWithTreatRBE(HiddenDocument, string)

protected bool CheckNodesetWithTreatRBE(HiddenDocument hiddenDoc, string strRBE)

Parameters

hiddenDoc HiddenDocument

strRBE string

Returns

bool

CheckOverlap(List, double, double, string, string)

protected bool CheckOverlap(List<double> lstOverlap, double dTotalOffset, double dDepth, string strError, string strCaption)

Parameters

lstOverlap Listdouble[]&gt;

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)

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

bool

Validate(IList)

public virtual bool Validate(IList<string> lstErrorMessage)

Parameters

lstErrorMessage IListstring&gt;

Returns

bool

Connect with Ansys