Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class PropertyGearSetBase

Last update: 16.07.2025

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

Property of GearSetBase

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

Inheritance

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

Derived

PropertyGearSet, PropertyGearSetCrossHelical, PropertyGearSetCustom, PropertyGearSetCycloidPin, PropertyGearSetInternal, PropertyGearSetPlanetary, PropertyGearSetPlanetaryDP, PropertyGearSetRackAndPinion, PropertyGearSetWormAndWormWheel

Implements

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

Inherited Members

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

PropertyGearSetBase()

Initializes a new instance of the class.

public PropertyGearSetBase()

Properties

AdvancedGearGeometry

Gets the advanced gear geometry state.

public bool AdvancedGearGeometry { get; }

Property Value

bool

BasicInvoluteProperty

Gets or sets the basic involute property.

public BasicInvolute BasicInvoluteProperty { get; set; }

Property Value

BasicInvolute

Color

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

public string Color { get; set; }

Property Value

string

ContactAnalysisProperty

Gets or sets the contact analysis property.

public ContactAnalysis ContactAnalysisProperty { get; set; }

Property Value

ContactAnalysis

CreationMethod

Gets or sets the type of the creation method.

public PropertyGearSetBase.CreationMethodType CreationMethod { get; set; }

Property Value

PropertyGearSetBase.CreationMethodType

DrawingColor

Gets the color of the drawing.

public Color DrawingColor { get; }

Property Value

Color

GearPairs

Gets or sets the gear pairs.

public GearPair[] GearPairs { get; set; }

Property Value

GearPair[]

Exceptions

Exception

GearPair list is null. or GearPair list is null. or GearPair is null.

GeometryInfos

Gets or sets the geometry infos.

public GearGeometryInfo[] GeometryInfos { get; set; }

Property Value

GearGeometryInfo[]

Exceptions

Exception

GeometryInfo list is null. or GeometryInfo list is null. or GeometryInfo is null.

KissSoftInterfaceFilePath

Gets or sets the kiss soft interface file path

public string KissSoftInterfaceFilePath { get; set; }

Property Value

string

MaterialProperty

Gets or sets the material property.

public Material MaterialProperty { get; set; }

Property Value

Material

ModificationProperty

Gets or sets the modification property.

public Modification ModificationProperty { get; set; }

Property Value

Modification

ModifiedParam

Gets or sets the whether this instance's parameter is modified or not.

public bool ModifiedParam { get; set; }

Property Value

bool

SimulationType

Gets or sets the type of the simulation. Use SetSimulationType() when this instance sets for undo/redo

public PropertyGearSetBase.CreateDATType SimulationType { get; set; }

Property Value

PropertyGearSetBase.CreateDATType

ToleranceProperty

Gets or sets the tolerance property.

public Tolerance ToleranceProperty { get; set; }

Property Value

Tolerance

ToolProperty

Gets or sets the tool property.

public Tool ToolProperty { get; set; }

Property Value

Tool

ToothStiffnessProperty

Gets or sets the tooth stiffness property.

public ToothStiffness ToothStiffnessProperty { get; set; }

Property Value

ToothStiffness

UseKissSoftInterface

Gets or sets the kiss soft interface use flag

public bool UseKissSoftInterface { get; set; }

Property Value

bool

WebProperty

Gets or sets the web property.

public Web WebProperty { get; set; }

Property Value

Web

Methods

AddAttributes()

Add attributes

protected void AddAttributes()

AddUnitAttribute(Document)

Add unit attribute

public void AddUnitAttribute(Document doc)

Parameters

doc Document

BuildGear()

Builds the gear.

public bool BuildGear()

Returns

bool

BuildGear(bool)

Builds the gear.

public virtual bool BuildGear(bool bCreate)

Parameters

bCreate bool

Returns

bool

BuildGearCore(bool, string, string, string[])

Build gear core.

protected void BuildGearCore(bool bCreate, string strInputPath, string strResultPath, string[] arDatPath)

Parameters

bCreate bool

create state.

strInputPath string

input path.

strResultPath string

result path.

arDatPath string[]

dat file path array.

BuildGearWithKissSoftInterface(bool, OutputData)

Builds the gear with kiss soft interface.

public bool BuildGearWithKissSoftInterface(bool bCreate, KissSoftInterface.OutputData outputData)

Parameters

bCreate bool

outputData KissSoftInterface.OutputData

Returns

bool

BuildGearWithKissSoftInterface(string)

Builds the gear with kiss soft interface.

public bool BuildGearWithKissSoftInterface(string strFilePath)

Parameters

strFilePath string

Returns

bool

BuildGearWithKissSoftInterface()

Builds the gear with kiss soft interface.

public bool BuildGearWithKissSoftInterface()

Returns

bool

FindLocal(string)

Finds the local.

public override IObjectBase FindLocal(string strName)

Parameters

strName string

Name of the string.

Returns

IObjectBase

FindWebBuilder(IGearBuilder)

Finds the web builder.

public AddedWebBuilder FindWebBuilder(IGearBuilder geombuilder)

Parameters

geombuilder IGearBuilder

The geombuilder.

Returns

AddedWebBuilder

FindWebValue(GearGeometryInfo)

Finds the web value.

public WebPropertyValue FindWebValue(GearGeometryInfo info)

Parameters

info GearGeometryInfo

The information.

Returns

WebPropertyValue

GetIndexForGeomInfo(GearGeometryInfo)

Get index for gear geometry information

public int GetIndexForGeomInfo(GearGeometryInfo gFindInfo)

Parameters

gFindInfo GearGeometryInfo

The finding information.

Returns

int

GetSelectedGearInfo(string, GearGeometryInfo[])

Gets the selected gear Information

public virtual GearGeometryInfo GetSelectedGearInfo(string strText, GearGeometryInfo[] arGeomInfo)

Parameters

strText string

The text

arGeomInfo GearGeometryInfo[]

The geometry information

Returns

GearGeometryInfo

InitChild(int, string[], ConvertFactor)

Initializes the child.

public virtual void InitChild(int nNum, string[] arName, Unit.ConvertFactor factor)

Parameters

nNum int

The n number.

arName string[]

Name of the ar.

factor Unit.ConvertFactor

The factor.

Initialize(ConvertFactor)

Initializes member through unit convert factor.

public override void Initialize(Unit.ConvertFactor factor)

Parameters

factor Unit.ConvertFactor

The unit convert factor.

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.

OnPostDeserializedImpl(StreamingContext)

OnPostDeserialized

protected virtual void OnPostDeserializedImpl(StreamingContext context)

Parameters

context StreamingContext

PostBuildGear()

post builder gear.

protected virtual void PostBuildGear()

ReadResultCore(XmlDocument)

Reads the result core.

protected virtual void ReadResultCore(XmlDocument xmlDoc)

Parameters

xmlDoc XmlDocument

The XML document.

ReadResultForDatFile(string[], int)

Read result for dat file.

protected virtual void ReadResultForDatFile(string[] arDatPath, int nIdx)

Parameters

arDatPath string[]

The dat path array.

nIdx int

The index.

ReadResultWithKissSoftInterface(uint, uint, uint, double, double, double[], double, GearData[])

Read result with KissSoft interface

protected virtual void ReadResultWithKissSoftInterface(uint nNumInvolute, uint nNumTrochoid, uint nNumSlice, double dNormalModule, double dNormalPressureAngle, double[] ardCenterDistance, double dAxialCrossingAngle, KissSoftInterface.GearData[] arGearData)

Parameters

nNumInvolute uint

The number of Involute

nNumTrochoid uint

The number of trochoid

nNumSlice uint

The number of slice

dNormalModule double

The normal module

dNormalPressureAngle double

The normal pressure angle

ardCenterDistance double[]

The center distancte

dAxialCrossingAngle double

The axial crossing angle

arGearData KissSoftInterface.GearData[]

The gear data array

SetColor(string)

Set color.

public void SetColor(string color)

Parameters

color string

The color.

SetModified()

Sets modified flag.

protected override void SetModified()

SetSimulationType(CreateDATType)

Set reference point.

public void SetSimulationType(PropertyGearSetBase.CreateDATType type)

Parameters

type PropertyGearSetBase.CreateDATType

The reference point.

Connect with Ansys