SolidWorksMakroprogrammierung

Methode · Configuration

GetExpanded-Methode (Configuration)

Liefert, ob der Eintrag einer Konfiguration im ConfigurationManager aufgeklappt ist.

Syntax

Function GetExpanded( _
   ByVal WhichPane As Long _
) As Boolean
bOffen = swConfig.GetExpanded(swFeatMgrPaneTop)

Parameter

WhichPaneLongByVal
Welcher Bereich: swFeatMgrPaneTop oder swFeatMgrPaneBottom aus swFeatMgrPane_e.

Rückgabewert

True, wenn aufgeklappt, sonst False.

Beispiel

' swConfig ist eine Configuration, etwa aus ConfigurationManager.ActiveConfiguration.
If swConfig.GetExpanded(swFeatMgrPaneTop) Then Debug.Print swConfig.Name & " ist aufgeklappt"

Siehe auch

Verfügbarkeit

SOLIDWORKS 2018

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

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