Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class PropertyShaftSetBase

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL.GearTrain
Assembly: VMDGearTrain.dll

Property of Shaft set base

public abstract class PropertyShaftSetBase : PropertyHousingBase, IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object ← ContainerObject ← Property ← PropertyHousingBasePropertyShaftSetBase

Derived

PropertyShaftSet

Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID

Inherited Members

PropertyHousingBase.Initialize(Unit.ConvertFactor), PropertyHousingBase.GetUnnamedObjectName(object), PropertyHousingBase.FindLocal(string), PropertyHousingBase.GeometryInfos(GeometryInfoBase.GeometryType), PropertyHousingBase.FindAddedBuilderFromGeomInfo(GeometryInfoBase, string), PropertyHousingBase.IsAvaiableToAddOrModifyGearWithAxis(GearTrainDocument, string, VectorBase, VectorBase, GearGeometryInfo), PropertyHousingBase.IsAvaiableToAddOrModifyCrossHelicalGearWithAxis(GearTrainDocument, string, VectorBase, VectorBase, GearGeometryInfo), PropertyHousingBase.IsAvaiableToAddOrModifyGearWithCenterDistance(GearTrainDocument, string, VectorBase, VectorBase, GearGeometryInfo), PropertyHousingBase.GetGlobalAxisCore(Body[], ref List), PropertyHousingBase.AddPointLoad(IPointLoad), PropertyHousingBase.RemovePointLoad(IPointEntity), PropertyHousingBase.IsContainsNameOfPointLoad(string), PropertyHousingBase.GetPointLoadPoint(), PropertyHousingBase.IsContainsOffsetOfPointLoad(double), PropertyHousingBase.GetNewNameFromPointLoad(string), PropertyHousingBase.AddUnbalanceMass(IUnbalanceMass), PropertyHousingBase.RemoveUnbalanceMass(IPointEntity), PropertyHousingBase.IsContainsNameOfUnbalanceMass(string), PropertyHousingBase.GetUnbalanceMassPoint(), PropertyHousingBase.IsContainsOffsetOfUnbalanceMass(double), PropertyHousingBase.GetNewNameFromUnbalanceMass(string), PropertyHousingBase.GetNewNameFromChildEntityCore(List, string), PropertyHousingBase.OnDeserialization(object), PropertyHousingBase.PointLoads, PropertyHousingBase.IPointLoads, PropertyHousingBase.UnbalanceMasses, PropertyHousingBase.IUnbalanceMasses, PropertyHousingBase.ComponentAnalysis, Property.Initialize(Unit.ConvertFactor), Property.PropertyRequestUpdate(object, LinkEventArgs), Property.OnUpdatePropertyImpl(Property, LinkEventArgs), Property.GetUnnamedObjectName(object), Property.FindLocal(string), Property.Draw(Canvas, TMatrix, TMatrix, bool), ContainerObject.Find(string), ContainerObject.FindLocal(string), ContainerObject.GetUnnamedObjectName(object), ContainerObject.GetNewEntityName(string), ContainerObject.GetNewEntityName(string, bool, int), ContainerObject.GetNewEntityName(string, bool, int, int), Object.GetKey(), Object.Initialize(Unit.ConvertFactor), Object.SetIconColor(Canvas), Object.OnDeserialization(object), Object.CustomGetObjectData(SerializationInfo, StreamingContext), Object.RollbackEvent(), Object.OnDeserializedCore(object), Object.Key, Object.UntypedEventCore, Object.EventCore, Object.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray(T[], T[]), ObjectBase.IsEqualList(List, List), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

PropertyShaftSetBase()

Initializes a new instance of the class.

public PropertyShaftSetBase()

Properties

AssemblyTolerance

Gets or sets the assembly tolerance

public static double AssemblyTolerance { get; set; }

Property Value

double

BeamSectionRatio

Gets or sets the beam section ratio.

public ExpressionValueVariable BeamSectionRatio { get; set; }

Property Value

ExpressionValueVariable

Color

Gets or sets the color. Use SetColor() when this instance sets for undo/redo

public string Color { get; set; }

Property Value

string

DrawingColor

Gets the color of the drawing.

public Color DrawingColor { get; }

Property Value

Color

EccentricDirection

Gets or sets the eccentric direction.

public DirectionBase EccentricDirection { get; set; }

Property Value

DirectionBase

InputPowerLoad

Gets the input power load.

public PowerLoad InputPowerLoad { get; }

Property Value

PowerLoad

MeasurePoints

Gets or sets the Measure points.

public MeasurePoint[] MeasurePoints { get; set; }

Property Value

MeasurePoint[]

OutputPowerLoad

Gets the output power load.

public PowerLoad OutputPowerLoad { get; }

Property Value

PowerLoad

PowerLoads

Gets or sets the power loads.

public PowerLoad[] PowerLoads { get; set; }

Property Value

PowerLoad[]

SectionInfos

Gets or sets the section infos.

public SectionInfo[] SectionInfos { get; set; }

Property Value

SectionInfo[]

Exceptions

Exception

Section Info List is null. or Section Info list is null. or Section information object is null.

StartAxis

Gets or sets the start axis.

public DirectionBase StartAxis { get; set; }

Property Value

DirectionBase

StartAxisValue

Gets the start axis value.

public VectorBase StartAxisValue { get; }

Property Value

VectorBase

StartPoint

Gets or sets the start point.

public PointBase StartPoint { get; set; }

Property Value

PointBase

TotalSectionLength

Gets the total length of the section.

public double TotalSectionLength { get; }

Property Value

double

UseMiddleElementReferenceFrame

Use middle element reference frame

public bool UseMiddleElementReferenceFrame { get; set; }

Property Value

bool

WidthForDurabilityAnalysis

Gets or sets the width for durability analysis.

public ExpressionValueVariable WidthForDurabilityAnalysis { get; set; }

Property Value

ExpressionValueVariable

Methods

AddGearInfo(GearGeometryInfo, double, Document3D, IOpenDesignerForGearTrain, RacewayGeometryInfo)

Adds the gear information.

public bool AddGearInfo(GearGeometryInfo info, double dOffset, Document3D doc, IOpenDesignerForGearTrain objParent, RacewayGeometryInfo rInfo)

Parameters

info GearGeometryInfo

The information.

dOffset double

The d offset.

doc Document3D

The document.

objParent IOpenDesignerForGearTrain

The object parent.

rInfo RacewayGeometryInfo

The r information.

Returns

bool

AddGeometryInfo(GeometryInfoBase, double, Document3D, IOpenDesignerForGearTrain)

Adds the geometry information.

public bool AddGeometryInfo(GeometryInfoBase info, double dOffset, Document3D doc, IOpenDesignerForGearTrain objParent)

Parameters

info GeometryInfoBase

The information.

dOffset double

The d offset.

doc Document3D

The document.

objParent IOpenDesignerForGearTrain

The object parent.

Returns

bool

AddGeometryInfo(GeometryInfoBase, double, Document3D, IOpenDesignerForGearTrain, bool)

Adds the geometry information.

public bool AddGeometryInfo(GeometryInfoBase info, double dOffset, Document3D doc, IOpenDesignerForGearTrain objParent, bool bRack)

Parameters

info GeometryInfoBase

The information.

dOffset double

The d offset.

doc Document3D

The document.

objParent IOpenDesignerForGearTrain

The object parent.

bRack bool

The object rack.

Returns

bool

AddMeasurePoint(MeasurePoint)

Adds the Measure point.

public void AddMeasurePoint(MeasurePoint ip)

Parameters

ip MeasurePoint

The ip.

AddPowerLoad(PowerLoad)

Adds the power load.

public void AddPowerLoad(PowerLoad pl)

Parameters

pl PowerLoad

The pl.

AddSectionInfo(SectionInfo)

Adds the section information.

public void AddSectionInfo(SectionInfo info)

Parameters

info SectionInfo

The information.

ClearSectionInfo()

Clear section information.

public void ClearSectionInfo()

FindLocal(string)

Finds the specified string name.

public override IObjectBase FindLocal(string strName)

Parameters

strName string

Name of the string.

Returns

IObjectBase

FindRack(double, double, Document3D)

Finds the rack from geom information.

public Section FindRack(double dLength, double dOffset, Document3D doc)

Parameters

dLength double

Length of the d.

dOffset double

The d offset.

doc Document3D

The document.

Returns

Section

FindSection(double, double, Document3D)

Finds the section from gear information.

public Section FindSection(double dLength, double dOffset, Document3D doc)

Parameters

dLength double

Length of the d.

dOffset double

The d offset.

doc Document3D

The document.

Returns

Section

FindSection(double)

Find section

public SectionInfo FindSection(double dOffset)

Parameters

dOffset double

THe offset

Returns

SectionInfo

FindSectionWithGearInfo(GearGeometryInfo, double)

Finds the section with gear information.

public SectionInfo FindSectionWithGearInfo(GearGeometryInfo info, double dOffset)

Parameters

info GearGeometryInfo

The information.

dOffset double

The d offset.

Returns

SectionInfo

FindSectionWithRacewayInfo(RacewayGeometryInfo, double)

Finds the section with raceway information.

public SectionInfo FindSectionWithRacewayInfo(RacewayGeometryInfo info, double dOffset)

Parameters

info RacewayGeometryInfo

The information.

dOffset double

The d offset.

Returns

SectionInfo

FindSectionWithSlidingBearingInfo(SBGeometryInfo, double)

Finds the section with sliding bearing information.

public SectionInfo FindSectionWithSlidingBearingInfo(SBGeometryInfo info, double dOffset)

Parameters

info SBGeometryInfo

The information.

dOffset double

The d offset.

Returns

SectionInfo

GetBearingStartEndPoint()

Gets the bearing start end point.

public List<vector> GetBearingStartEndPoint()

Returns

List

GetGearStartEndPoint()

Gets the gear start end point.

public List<vector> GetGearStartEndPoint()

Returns

List

GetGlobalAxisCore(Body[], ref List)

Get the global axis

protected override void GetGlobalAxisCore(Body[] arBody, ref List<vectorbase> lst)

Parameters

arBody Body[]

The body list.

lst List

vector list.

GetLengthUntilTargetSegment(SectionInfo)

Gets the length until target segment.

public double GetLengthUntilTargetSegment(SectionInfo target)

Parameters

target SectionInfo

The target segment.

Returns

double

The length until target segment.

GetNewNameFromMeasurePoint(string)

Gets the new name from Measure point.

public string GetNewNameFromMeasurePoint(string strPrefix)

Parameters

strPrefix string

The string prefix.

Returns

string

GetNewNameFromPowerLoad(string)

Gets the new name from power load.

public string GetNewNameFromPowerLoad(string strPrefix)

Parameters

strPrefix string

The string prefix.

Returns

string

GetNextLocationPoint(SectionGeometryBase, Vector, VectorBase)

Gets the next location.

public VectorBase GetNextLocationPoint(SectionGeometryBase sgb, Vector vecAxis, VectorBase vecOffsetDirection)

Parameters

sgb SectionGeometryBase

The SGB.

vecAxis Vector

The vec axis.

vecOffsetDirection VectorBase

The offset direction.

Returns

VectorBase

GetPowerLoadPoint()

Gets the power load point.

public List<vector> GetPowerLoadPoint()

Returns

List

GetShaftStartEndPoint()

Gets the shaft start end point.

public List<vector> GetShaftStartEndPoint()

Returns

List

Initialize(ConvertFactor)

Initializes the specified factor.

public override void Initialize(Unit.ConvertFactor factor)

Parameters

factor Unit.ConvertFactor

The factor.

InsertSectionInfo(SectionInfo, SectionInfo[])

Inserts the section information.

public void InsertSectionInfo(SectionInfo beforeSectionInfo, SectionInfo[] infos)

Parameters

beforeSectionInfo SectionInfo

The before section information.

infos SectionInfo[]

The infos.

IsContainsNameOfMeasurePoint(string)

Determines whether [is contains name of Measure point] [the specified string name].

public bool IsContainsNameOfMeasurePoint(string strName)

Parameters

strName string

Name of the string.

Returns

bool

IsContainsNameOfPowerLoad(string)

Determines whether [is contains name of power load] [the specified string name].

public bool IsContainsNameOfPowerLoad(string strName)

Parameters

strName string

Name of the string.

Returns

bool

IsContainsOffsetOfMeasurePoint(double)

Determines whether [is contains offset of Measure point] [the specified d offset].

public bool IsContainsOffsetOfMeasurePoint(double dOffset)

Parameters

dOffset double

The d offset.

Returns

bool

IsContainsOffsetOfPowerLoad(double)

Determines whether [is contains offset of power load] [the specified d offset].

public bool IsContainsOffsetOfPowerLoad(double dOffset)

Parameters

dOffset double

The d offset.

Returns

bool

IsLooseSameValue(double, double)

Determines whether is same value.

public static bool IsLooseSameValue(double dVal1, double dVal2)

Parameters

dVal1 double

value.

dVal2 double

The another value.

Returns

bool

IsLooseSameVector(VectorBase, VectorBase)

Determines whether is same value.

public static bool IsLooseSameVector(VectorBase vecVal1, VectorBase vecVal2)

Parameters

vecVal1 VectorBase

value.

vecVal2 VectorBase

The another value.

Returns

bool

IsSameValue(double, double)

Determines whether is same value.

public static bool IsSameValue(double dVal1, double dVal2)

Parameters

dVal1 double

value.

dVal2 double

The another value.

Returns

bool

IsSameVector(VectorBase, VectorBase)

Determines whether is same value.

public static bool IsSameVector(VectorBase vecVal1, VectorBase vecVal2)

Parameters

vecVal1 VectorBase

value.

vecVal2 VectorBase

The another value.

Returns

bool

LinkRequestDestroying(object, LinkEventArgs)

Links the request destroying.

protected override void LinkRequestDestroying(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The object notifier.

arg LinkEventArgs

The instance containing the event data.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

RemoveMeasurePoint(PointEntityOnShaftSet)

Removes the Measure point.

public void RemoveMeasurePoint(PointEntityOnShaftSet ip)

Parameters

ip PointEntityOnShaftSet

The ip.

RemovePowerLoad(PointEntityOnShaftSet)

Removes the power load.

public void RemovePowerLoad(PointEntityOnShaftSet pl)

Parameters

pl PointEntityOnShaftSet

The pl.

RemoveRackSectionInfo(GearGeometryInfo)

Removes the rack section information.

public void RemoveRackSectionInfo(GearGeometryInfo gInfo)

Parameters

gInfo GearGeometryInfo

The g information.

RemoveSectionInfo(SectionInfo)

Removes the section information.

public SectionInfo RemoveSectionInfo(SectionInfo info)

Parameters

info SectionInfo

The information.

Returns

SectionInfo

SetColor(string)

Set color.

public void SetColor(string color)

Parameters

color string

The color.

Connect with Ansys