Enumeration · SwConst
swMotionPlotAxisType_e-Enumeration
Welche Ergebnisgröße einer Bewegungsstudie eine Diagrammachse zeigt, etwa Zeit, Verschiebung, Geschwindigkeit, Kraft oder Energie.
Syntax
Enum swMotionPlotAxisType_e
swMotionPlotAxisType_XAXISTIME = 0
swMotionPlotAxisType_XAXISFRAME = 1
swMotionPlotAxisType_CM_POSITION = 2
swMotionPlotAxisType_PRESSURE_ANGLE = 3
swMotionPlotAxisType_CM_VELOCITY = 4
swMotionPlotAxisType_CM_ACCELERATION = 5
swMotionPlotAxisType_TRANS_DISP = 6
swMotionPlotAxisType_TRANS_VELOCITY = 7
swMotionPlotAxisType_TRANS_ACCELERATION = 8
swMotionPlotAxisType_ANGULAR_DISP = 9
swMotionPlotAxisType_ANGULAR_VELOCITY = 10
swMotionPlotAxisType_ANGULAR_ACCEL = 11
swMotionPlotAxisType_TRANS_MOMENTUM = 12
swMotionPlotAxisType_ANGULAR_MOMENTUM = 13
swMotionPlotAxisType_REACTION_FORCE = 14
swMotionPlotAxisType_REACTION_TORQUE = 15
swMotionPlotAxisType_PROJ_ANGLES = 16
swMotionPlotAxisType_EULER_ANGLES = 17
swMotionPlotAxisType_PITCH = 18
swMotionPlotAxisType_BRYANT_ANGLE = 19
swMotionPlotAxisType_RODRIQUEZ_PARAM = 20
swMotionPlotAxisType_MOTION_APPLIED_FORCE = 21
swMotionPlotAxisType_MOTION_APPLIED_TORQUE = 22
swMotionPlotAxisType_FRICTION_FORCE = 23
swMotionPlotAxisType_FRICTION_MOMENT = 24
swMotionPlotAxisType_KINETIC_ENERGY = 25
swMotionPlotAxisType_TRANS_KINETIC_ENERGY = 26
swMotionPlotAxisType_ANGULAR_KINETIC_ENERGY = 27
swMotionPlotAxisType_POTENTIAL_ENERGY_DELTA = 28
swMotionPlotAxisType_POWER_CONSUMPTION = 29
swMotionPlotAxisType_TRACE_PATH = 30
swMotionPlotAxisType_CONTACT_FORCE = 31
swMotionPlotAxisType_REFLECTED_MASS = 32
swMotionPlotAxisType_REFLECTED_INERTIA = 33
End EnumWerte
| Konstante | Wert | Bedeutung |
|---|---|---|
swMotionPlotAxisType_XAXISTIME | 0 | Dem Namen nach für die x-Achse: Zeit. |
swMotionPlotAxisType_XAXISFRAME | 1 | Dem Namen nach für die x-Achse: Bildnummer (Frame) der Studie. |
swMotionPlotAxisType_CM_POSITION | 2 | Lage des Massenmittelpunkts. |
swMotionPlotAxisType_PRESSURE_ANGLE | 3 | Dem Namen nach der Druckwinkel. |
swMotionPlotAxisType_CM_VELOCITY | 4 | Geschwindigkeit des Massenmittelpunkts. |
swMotionPlotAxisType_CM_ACCELERATION | 5 | Beschleunigung des Massenmittelpunkts. |
swMotionPlotAxisType_TRANS_DISP | 6 | Lineare Verschiebung. |
swMotionPlotAxisType_TRANS_VELOCITY | 7 | Lineare Geschwindigkeit. |
swMotionPlotAxisType_TRANS_ACCELERATION | 8 | Lineare Beschleunigung. |
swMotionPlotAxisType_ANGULAR_DISP | 9 | Winkelverschiebung. |
swMotionPlotAxisType_ANGULAR_VELOCITY | 10 | Winkelgeschwindigkeit. |
swMotionPlotAxisType_ANGULAR_ACCEL | 11 | Winkelbeschleunigung. |
swMotionPlotAxisType_TRANS_MOMENTUM | 12 | Impuls. |
swMotionPlotAxisType_ANGULAR_MOMENTUM | 13 | Drehimpuls. |
swMotionPlotAxisType_REACTION_FORCE | 14 | Reaktionskraft. |
swMotionPlotAxisType_REACTION_TORQUE | 15 | Reaktionsmoment. |
swMotionPlotAxisType_PROJ_ANGLES | 16 | Projizierte Winkel. |
swMotionPlotAxisType_EULER_ANGLES | 17 | Eulerwinkel. |
swMotionPlotAxisType_PITCH | 18 | Dem Namen nach Nick-, Gier- und Rollwinkel (Pitch, Yaw, Roll). |
swMotionPlotAxisType_BRYANT_ANGLE | 19 | Bryant-Winkel. |
swMotionPlotAxisType_RODRIQUEZ_PARAM | 20 | Rodrigues-Parameter. Der Name ist in der API so geschrieben (RODRIQUEZ). |
swMotionPlotAxisType_MOTION_APPLIED_FORCE | 21 | Dem Namen nach die aufgebrachte Kraft. |
swMotionPlotAxisType_MOTION_APPLIED_TORQUE | 22 | Dem Namen nach das aufgebrachte Drehmoment. |
swMotionPlotAxisType_FRICTION_FORCE | 23 | Reibkraft. |
swMotionPlotAxisType_FRICTION_MOMENT | 24 | Reibmoment. |
swMotionPlotAxisType_KINETIC_ENERGY | 25 | Kinetische Energie. |
swMotionPlotAxisType_TRANS_KINETIC_ENERGY | 26 | Kinetische Energie der Translation. |
swMotionPlotAxisType_ANGULAR_KINETIC_ENERGY | 27 | Kinetische Energie der Rotation. |
swMotionPlotAxisType_POTENTIAL_ENERGY_DELTA | 28 | Änderung der potenziellen Energie. |
swMotionPlotAxisType_POWER_CONSUMPTION | 29 | Leistungsaufnahme. |
swMotionPlotAxisType_TRACE_PATH | 30 | Dem Namen nach die Bahnkurve eines Punkts. |
swMotionPlotAxisType_CONTACT_FORCE | 31 | Kontaktkraft. |
swMotionPlotAxisType_REFLECTED_MASS | 32 | Dem Namen nach die reduzierte (auf den Antrieb bezogene) Masse. |
swMotionPlotAxisType_REFLECTED_INERTIA | 33 | Dem Namen nach das reduzierte (auf den Antrieb bezogene) Trägheitsmoment. |
Beispiel
' swErgebnisse ist ein CosmosMotionStudyResults, die Ergebnisse einer berechneten Bewegungsstudie.
' vFlaechen enthält die ausgewählten Flächen als Array.
Dim swDiagramm As SldWorks.MotionPlotFeatureData
Dim swXAchse As SldWorks.MotionPlotAxisFeatureData, swYAchse As SldWorks.MotionPlotAxisFeatureData
Dim swFeat As SldWorks.Feature
Set swDiagramm = swErgebnisse.CreatePlotFeatureData()
Set swXAchse = swErgebnisse.CreatePlotXAxisFeatureData()
Set swYAchse = swErgebnisse.CreatePlotYAxisFeatureData()
swYAchse.Type = swMotionPlotAxisType_TRANS_DISP
swYAchse.Component = swMotionPlotAxisComponent_X
swYAchse.Entities = vFlaechen
Set swFeat = swErgebnisse.InsertPlotFeature(swDiagramm, swXAchse, swYAchse)Bemerkungen
Du setzt den Wert mit MotionPlotAxisFeatureData.Type auf den Achsendaten eines Diagramms. Bei vektoriellen Größen wie Verschiebung oder Geschwindigkeit wählst du mit MotionPlotAxisFeatureData.Component zusätzlich die Komponente, zum Beispiel x, y, z oder den Betrag aus swMotionPlotAxisComponent_e.
Die Achsendaten und das Diagramm-Feature legst du mit den Befehlen von CosmosMotionStudyResults aus der Bibliothek der Bewegungsstudien (SwMotionStudy) an, nicht aus der SldWorks-Bibliothek.
Die Hilfe beschreibt die Werte nur mit ihrem Namen. Sie sagt nicht, welche Größen für welche Art von Bewegungsstudie und welche Elemente zulässig sind.
Verwendet von
Siehe auch
Englisches Original: swMotionPlotAxisType_e in der SOLIDWORKS API-Hilfe ↗
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.