Enumeration · SwConst
swDofStatus_e-Enumeration
Zustände eines Freiheitsgrads (DOF), etwa statisch, frei oder momentan. Die Hilfe nennt nur die Namen und keinen Befehl.
Syntax
Enum swDofStatus_e
swDofStatus_Unused = 0
swDofStatus_Static = 1
swDofStatus_StaticNormal = 2
swDofStatus_Free = 3
swDofStatus_FreeNormal = 4
swDofStatus_Instantaneous = 5
swDofStatus_InstantaneousNormal = 6
End EnumWerte
| Konstante | Wert | Bedeutung |
|---|---|---|
swDofStatus_Unused | 0 | Dem Namen nach nicht verwendet. |
swDofStatus_Static | 1 | Dem Namen nach statisch, der Freiheitsgrad ist also festgelegt. |
swDofStatus_StaticNormal | 2 | Dem Namen nach statisch, als Variante „Normal“. Die Hilfe sagt nicht, was „Normal“ hier bedeutet. |
swDofStatus_Free | 3 | Dem Namen nach frei, der Freiheitsgrad ist also nicht festgelegt. |
swDofStatus_FreeNormal | 4 | Dem Namen nach frei, als Variante „Normal“. |
swDofStatus_Instantaneous | 5 | Dem Namen nach momentan (instantaneous). |
swDofStatus_InstantaneousNormal | 6 | Dem Namen nach momentan, als Variante „Normal“. |
Beispiel
' nStatus ist ein Wert aus swDofStatus_e.
Select Case nStatus
Case swDofStatus_Static, swDofStatus_StaticNormal
Debug.Print "Statisch"
Case swDofStatus_Free, swDofStatus_FreeNormal
Debug.Print "Frei"
Case swDofStatus_Instantaneous, swDofStatus_InstantaneousNormal
Debug.Print "Momentan"
End SelectBemerkungen
Die Hilfe beschreibt die Werte nur mit ihrem Namen und nennt keinen Befehl, der sie liefert oder erwartet. Dem Namen nach geht es um Freiheitsgrade (degrees of freedom). Die Hilfe sagt nicht, wo die Werte vorkommen.
Ebenfalls ohne Befehl und ohne Beschreibung ist swRemainingDofs_e für verbleibende Freiheitsgrade.
Siehe auch
Englisches Original: swDofStatus_e in der SOLIDWORKS API-Hilfe ↗
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.