SolidWorksMakroprogrammierung

Eigenschaft · TitleBlockTableAnnotation

TitleBlockTableFeature-Eigenschaft (TitleBlockTableAnnotation)

Liefert das Feature der Schriftfeldtabelle.

Syntax

Property TitleBlockTableFeature As TitleBlockTableFeature
Set swTabFeat = swSchriftfeld.TitleBlockTableFeature

Wert

Das Feature der Schriftfeldtabelle als TitleBlockTableFeature.

Die Eigenschaft ist nur lesbar.

Beispiel

' swSchriftfeld ist eine Schriftfeldtabelle (TitleBlockTableAnnotation), etwa aus ModelDocExtension.InsertTitleBlockTable.
Dim swTabFeat As SldWorks.TitleBlockTableFeature
Set swTabFeat = swSchriftfeld.TitleBlockTableFeature
Debug.Print "Feature: " & swTabFeat.GetFeature.Name
Debug.Print "Tabellen im Feature: " & swTabFeat.GetTableAnnotationCount

Bemerkungen

Über das Feature kommst du an das zugehörige Feature (GetFeature) und an alle Tabellen des Features (GetTableAnnotations). So macht es das Hilfebeispiel „Get Title Block Tables“: Es liest von jeder Tabelle des Features wieder TitleBlockTableFeature und gibt den Namen des Features aus.

Siehe auch

Verfügbarkeit

SOLIDWORKS 2010

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

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