Eigenschaft · SimulationMotorFeatureData
Velocity-Eigenschaft (SimulationMotorFeatureData)
Liest oder setzt die Geschwindigkeit des Motors, wenn keine andere Kraft auf ihn wirkt.
Syntax
Property Velocity As DoubleswMotor.Velocity = dGeschwindigkeitWert
Die Geschwindigkeit. Eine Einheit nennt die Hilfe nicht.
Beispiel
' swMotor ist die Definition eines Motors (SimulationMotorFeatureData), etwa aus Feature.GetDefinition.
If swMotor.MotionType = swSimulationMotorMotion_Constant Then
Debug.Print "Geschwindigkeit: " & swMotor.Velocity
End IfBemerkungen
Die Eigenschaft gibt es seit SOLIDWORKS 2006, die Methode SimulationMotorFeatureData.ConstantSpeedMotor seit 2009. Diese nennt als Einheit U/min. Ob Velocity dieselbe Einheit hat, besonders bei einem Linearmotor, sagt die Hilfe nicht.
Bei einem Drehmotor mit konstanter Drehzahl liefert Velocity die Drehzahl in U/min, wie sie SimulationMotorFeatureData.ConstantSpeedMotor setzt.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2006
Englisches Original: ISimulationMotorFeatureData::Velocity in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.