Eigenschaft · SimulationMotorFeatureData
Expression-Eigenschaft (SimulationMotorFeatureData)
Liest oder setzt den Ausdruck, nach dem sich der Motor bewegt.
Syntax
Property Expression As StringswMotor.Expression = sAusdruckWert
Der Ausdruck als Text, nach Angabe der Hilfe in Dokumenteinheiten.
Beispiel
' swMotor ist die Definition eines Motors (SimulationMotorFeatureData), etwa aus Feature.GetDefinition.
If swMotor.MotionType = swSimulationMotorMotion_Function Then
Debug.Print "Ausdruck: " & swMotor.Expression
End IfBemerkungen
Wie der Ausdruck aufgebaut ist, sagt die API-Hilfe nicht. Vermutlich gilt er, wenn SimulationMotorFeatureData.MotionType swSimulationMotorMotion_Function ist.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2009
Englisches Original: ISimulationMotorFeatureData::Expression in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.