SolidWorksMakroprogrammierung

Eigenschaft · SketchBlockInstance

TextDisplay-Eigenschaft (SketchBlockInstance)

Liest oder setzt, wie die Texte der Blockinstanz angezeigt werden.

Syntax

Property TextDisplay As Long
swBlockInst.TextDisplay = swBlockInstanceTextDisplayAll

Wert

Ein Wert aus swBlockInstanceTextDisplay_e.

Beispiel

' swBlockInst ist eine Blockinstanz (SketchBlockInstance), etwa aus SketchBlockDefinition.GetInstances.
If swBlockInst.TextDisplay <> swBlockInstanceTextDisplayAll Then swBlockInst.TextDisplay = swBlockInstanceTextDisplayAll

Bemerkungen

Die Hilfe beschreibt die Eigenschaft nur als „ob Text angezeigt wird“. Was die einzelnen Werte bewirken, sagt sie nicht, siehe swBlockInstanceTextDisplay_e.

Siehe auch

Verfügbarkeit

SOLIDWORKS 2007

Englisches Original: ISketchBlockInstance::TextDisplay in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)

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