Eigenschaft · SimulationMotorFeatureData
DirectionReference-Eigenschaft (SimulationMotorFeatureData)
Liest oder setzt das Element, das die Richtung des Motors angibt, etwa eine Kreiskante, eine Fläche, eine Achse oder eine Ebene.
Syntax
Property DirectionReference As ObjectswMotor.DirectionReference = swSelMgr.GetSelectedObject6(1, -1)Wert
Eine Kreiskante, eine ebene, zylindrische oder kegelige Fläche, eine Achse oder eine Ebene.
Beispiel
' swMotor ist eine neue Motor-Definition (SimulationMotorFeatureData) aus MotionStudy.CreateDefinition,
' swSelMgr der SelectionMgr der Baugruppe. Eine Fläche ist ausgewählt.
swMotor.DirectionReference = swSelMgr.GetSelectedObject6(1, -1)Bemerkungen
So setzt es das Hilfebeispiel „Create Linear Motor Feature“, ohne Set. Umkehren kannst du die Richtung mit SimulationMotorFeatureData.ReverseDirection.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2006
Englisches Original: ISimulationMotorFeatureData::DirectionReference in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.