SolidWorksMakroprogrammierung

Enumeration · SwConst

swMotionPlotAxisComponent_e-Enumeration

Welche Komponente eines Ergebnisses ein Diagramm einer Bewegungsstudie zeigt, etwa X, Y, Z, den Betrag oder einen Winkel.

Bibliothek SwConst · 17 Werte · im Code direkt mit Namen verwendbar, zum Beispiel swMotionPlotAxisComponent_X

Syntax

Enum swMotionPlotAxisComponent_e
    swMotionPlotAxisComponent_X                = 0
    swMotionPlotAxisComponent_Y                = 1
    swMotionPlotAxisComponent_Z                = 2
    swMotionPlotAxisComponent_MAGNITUDE        = 3
    swMotionPlotAxisComponent_RADIAL_MAGNITUDE = 4
    swMotionPlotAxisComponent_EULER_PSI        = 5
    swMotionPlotAxisComponent_EULER_THETA      = 6
    swMotionPlotAxisComponent_EULER_PHI        = 7
    swMotionPlotAxisComponent_YAW              = 8
    swMotionPlotAxisComponent_PITCH            = 9
    swMotionPlotAxisComponent_ROLL             = 10
    swMotionPlotAxisComponent_RODRIGUEZ_PARAM1 = 11
    swMotionPlotAxisComponent_RODRIGUEZ_PARAM2 = 12
    swMotionPlotAxisComponent_RODRIGUEZ_PARAM3 = 13
    swMotionPlotAxisComponent_BRYANT_ANGLE1    = 14
    swMotionPlotAxisComponent_BRYANT_ANGLE2    = 15
    swMotionPlotAxisComponent_BRYANT_ANGLE3    = 16
End Enum

Werte

KonstanteWertBedeutung
swMotionPlotAxisComponent_X0X-Komponente.
swMotionPlotAxisComponent_Y1Y-Komponente.
swMotionPlotAxisComponent_Z2Z-Komponente.
swMotionPlotAxisComponent_MAGNITUDE3Betrag des Vektors.
swMotionPlotAxisComponent_RADIAL_MAGNITUDE4Dem Namen nach der radiale Betrag.
swMotionPlotAxisComponent_EULER_PSI5Eulerwinkel Psi.
swMotionPlotAxisComponent_EULER_THETA6Eulerwinkel Theta.
swMotionPlotAxisComponent_EULER_PHI7Eulerwinkel Phi.
swMotionPlotAxisComponent_YAW8Gierwinkel (Yaw).
swMotionPlotAxisComponent_PITCH9Nickwinkel (Pitch).
swMotionPlotAxisComponent_ROLL10Rollwinkel (Roll).
swMotionPlotAxisComponent_RODRIGUEZ_PARAM111Erster Rodrigues-Parameter.
swMotionPlotAxisComponent_RODRIGUEZ_PARAM212Zweiter Rodrigues-Parameter.
swMotionPlotAxisComponent_RODRIGUEZ_PARAM313Dritter Rodrigues-Parameter.
swMotionPlotAxisComponent_BRYANT_ANGLE114Erster Bryant-Winkel.
swMotionPlotAxisComponent_BRYANT_ANGLE215Zweiter Bryant-Winkel.
swMotionPlotAxisComponent_BRYANT_ANGLE316Dritter Bryant-Winkel.

Beispiel

' swYAchse ist ein MotionPlotAxisFeatureData, etwa aus CosmosMotionStudyResults.CreatePlotYAxisFeatureData.
swYAchse.Type = swMotionPlotAxisType_TRANS_DISP
swYAchse.Component = swMotionPlotAxisComponent_X

Bemerkungen

MotionPlotAxisFeatureData.Component liest und setzt den Wert, MotionPlotAxisFeatureData.Type mit einem Wert aus swMotionPlotAxisType_e die Ergebnisgröße. Manche Ergebnisse, etwa lineare Verschiebung oder Geschwindigkeit, sind ein räumlicher Vektor. Für dessen X-Komponente setzt du swMotionPlotAxisComponent_X.

Die Winkelwerte beschreiben dem Namen nach verschiedene Arten, eine Orientierung anzugeben. Die Hilfe beschreibt die Werte nur mit ihrem Namen und sagt nicht, zu welcher Ergebnisgröße welche Komponente passt.

Verwendet von

Siehe auch

Englisches Original: swMotionPlotAxisComponent_e in der SOLIDWORKS API-Hilfe ↗

Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.