Enumeration · SwConst
swManipulatorRepresentation_e-Enumeration
Darstellungsformen für Triaden-Manipulatoren, dem Namen nach etwa Pfeil, Kreis oder Drehgriff. Kein VBA-Befehl benutzt die Werte.
Syntax
Enum swManipulatorRepresentation_e
swManipulatorRepresentationNone = 0
swManipulatorRepresentationSquare = 1
swManipulatorRepresentationCircle = 2
swManipulatorRepresentationDiamond = 3
swManipulatorRepresentationTriangle = 4
swManipulatorRepresentationArrow = 5
swManipulatorRepresentationTextBox = 6
swManipulatorRepresentationRotationHandle = 7
swManipulatorRepresentationPanHandle = 8
swManipulatorRepresentationScaleHandle = 9
swManipulatorRepresentationSurfTopol = 10
swManipulatorRepresentationWireTopol = 11
swManipulatorRepresentationMiscTopol = 12
swManipulatorRepresentationBitmap = 13
swManipulatorRepresentationShadow = 14
swManipulatorRepresentationEmpty = 15
End EnumWerte
| Konstante | Wert | Bedeutung |
|---|---|---|
swManipulatorRepresentationNone | 0 | Dem Namen nach keine Darstellung. |
swManipulatorRepresentationSquare | 1 | Dem Namen nach ein Quadrat. |
swManipulatorRepresentationCircle | 2 | Dem Namen nach ein Kreis. |
swManipulatorRepresentationDiamond | 3 | Dem Namen nach eine Raute. |
swManipulatorRepresentationTriangle | 4 | Dem Namen nach ein Dreieck. |
swManipulatorRepresentationArrow | 5 | Dem Namen nach ein Pfeil. |
swManipulatorRepresentationTextBox | 6 | Dem Namen nach ein Textfeld. |
swManipulatorRepresentationRotationHandle | 7 | Dem Namen nach ein Griff zum Drehen. |
swManipulatorRepresentationPanHandle | 8 | Dem Namen nach ein Griff zum Verschieben. |
swManipulatorRepresentationScaleHandle | 9 | Dem Namen nach ein Griff zum Skalieren. |
swManipulatorRepresentationSurfTopol | 10 | Dem Namen nach Flächengeometrie. |
swManipulatorRepresentationWireTopol | 11 | Dem Namen nach Drahtgeometrie (Kanten und Kurven). |
swManipulatorRepresentationMiscTopol | 12 | Dem Namen nach sonstige Geometrie. |
swManipulatorRepresentationBitmap | 13 | Dem Namen nach ein Bild (Bitmap). |
swManipulatorRepresentationShadow | 14 | Dem Namen nach ein Schatten. |
swManipulatorRepresentationEmpty | 15 | Dem Namen nach eine leere Darstellung. |
Beispiel
' nDarstellung ist ein Wert aus swManipulatorRepresentation_e.
Dim nDarstellung As Long
Select Case nDarstellung
Case swManipulatorRepresentationArrow: Debug.Print "Pfeil"
Case swManipulatorRepresentationRotationHandle: Debug.Print "Drehgriff"
Case swManipulatorRepresentationNone: Debug.Print "Keine Darstellung"
Case Else: Debug.Print "Andere Darstellung"
End SelectBemerkungen
Kein VBA-Befehl erwartet oder liefert diese Werte. Sie gehören zu Triaden (TriadManipulator), die du mit ModelViewManager.CreateManipulator und swTriadManipulator aus swManipulatorType_e erzeugst. Die Hilfe sagt nicht, wo die Werte verwendet werden.
Die Hilfe beschreibt die Werte nur mit ihrem Namen.
Siehe auch
Englisches Original: swManipulatorRepresentation_e in der SOLIDWORKS API-Hilfe ↗
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.