Eigenschaft · SimulationMotorFeatureData
ReverseDirection-Eigenschaft (SimulationMotorFeatureData)
Liest oder setzt, ob die Richtung des Motors umgekehrt ist.
Syntax
Property ReverseDirection As BooleanswMotor.ReverseDirection = TrueWert
True: Richtung umgekehrt.
False: nicht.
Beispiel
' swModel ist die Baugruppe (ModelDoc2), swFeat ein Motor-Feature (Feature).
Dim swMotor As SldWorks.SimulationMotorFeatureData
Set swMotor = swFeat.GetDefinition
swMotor.ReverseDirection = (swMotor.ReverseDirection = False)
If False = swFeat.ModifyDefinition(swMotor, swModel, Nothing) Then Debug.Print "Ändern fehlgeschlagen"Bemerkungen
Die Richtung selbst gibt SimulationMotorFeatureData.DirectionReference an.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2006
Englisches Original: ISimulationMotorFeatureData::ReverseDirection in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.