SolidWorksMakroprogrammierung

Enumeration · SwConst

swManipulatorRepresentation_e-Enumeration

Darstellungsformen für Triaden-Manipulatoren, dem Namen nach etwa Pfeil, Kreis oder Drehgriff. Kein VBA-Befehl benutzt die Werte.

Bibliothek SwConst · 16 Werte · im Code direkt mit Namen verwendbar, zum Beispiel swManipulatorRepresentationNone

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 Enum

Werte

KonstanteWertBedeutung
swManipulatorRepresentationNone0Dem Namen nach keine Darstellung.
swManipulatorRepresentationSquare1Dem Namen nach ein Quadrat.
swManipulatorRepresentationCircle2Dem Namen nach ein Kreis.
swManipulatorRepresentationDiamond3Dem Namen nach eine Raute.
swManipulatorRepresentationTriangle4Dem Namen nach ein Dreieck.
swManipulatorRepresentationArrow5Dem Namen nach ein Pfeil.
swManipulatorRepresentationTextBox6Dem Namen nach ein Textfeld.
swManipulatorRepresentationRotationHandle7Dem Namen nach ein Griff zum Drehen.
swManipulatorRepresentationPanHandle8Dem Namen nach ein Griff zum Verschieben.
swManipulatorRepresentationScaleHandle9Dem Namen nach ein Griff zum Skalieren.
swManipulatorRepresentationSurfTopol10Dem Namen nach Flächengeometrie.
swManipulatorRepresentationWireTopol11Dem Namen nach Drahtgeometrie (Kanten und Kurven).
swManipulatorRepresentationMiscTopol12Dem Namen nach sonstige Geometrie.
swManipulatorRepresentationBitmap13Dem Namen nach ein Bild (Bitmap).
swManipulatorRepresentationShadow14Dem Namen nach ein Schatten.
swManipulatorRepresentationEmpty15Dem 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 Select

Bemerkungen

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.