Enumeration · SwConst
swMotionContactFrictionType_e-Enumeration
Ob ein 3D-Kontakt einer Bewegungsstudie Reibung berechnet: keine, volle (statische) oder nur dynamische Reibung.
Syntax
Enum swMotionContactFrictionType_e
swMotionContactFrictionOff = 0
swMotionContactFrictionFull = 1
swMotionContactFrictionDynamic = 2
End EnumWerte
| Konstante | Wert | Bedeutung |
|---|---|---|
swMotionContactFrictionOff | 0 | Keine Reibung. |
swMotionContactFrictionFull | 1 | Volle Reibung, die statische Reibung. |
swMotionContactFrictionDynamic | 2 | Dynamische Reibung. |
Beispiel
' swContFeat ist ein Simulation3DContactFeatureData, etwa aus MotionStudy.CreateDefinition.
Select Case swContFeat.FrictionOption
Case swMotionContactFrictionOff
Debug.Print "Ohne Reibung"
Case swMotionContactFrictionFull
Debug.Print "Statisch: " & swContFeat.StaticFrictionCoefficient
Case swMotionContactFrictionDynamic
Debug.Print "Dynamisch: " & swContFeat.DynamicFrictionCoefficient
End SelectBemerkungen
Simulation3DContactFeatureData.FrictionOption liest und setzt den Wert. Die Reibungsbeiwerte und Geschwindigkeiten stellst du getrennt ein: für die statische Reibung mit Simulation3DContactFeatureData.StaticFrictionCoefficient und Simulation3DContactFeatureData.StaticFrictionVelocity, für die dynamische mit Simulation3DContactFeatureData.DynamicFrictionCoefficient und Simulation3DContactFeatureData.DynamicFrictionVelocity.
Die Hilfe beschreibt die Werte nur mit ihrem Namen. Sie sagt nicht, welche Beiwerte bei swMotionContactFrictionFull außer den statischen noch gelten.
Verwendet von
Siehe auch
Englisches Original: swMotionContactFrictionType_e in der SOLIDWORKS API-Hilfe ↗
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.