SolidWorksMakroprogrammierung

Methode · ConfigurationManager

SetExpanded-Methode (ConfigurationManager)

Klappt im ConfigurationManager alle Einträge eines Bereichs auf oder zu.

Syntax

Sub SetExpanded( _
   ByVal WhichPane As Long, _
   ByVal Expand As Boolean _
)
swConfMgr.SetExpanded swFeatMgrPaneTop, True

Parameter

WhichPaneLongByVal
Welcher Bereich, ein Wert aus swFeatMgrPane_e: swFeatMgrPaneTop (0) oder swFeatMgrPaneBottom (1).
ExpandBooleanByVal
True: aufklappen. False: zuklappen.

Beispiel

' swConfMgr ist der ConfigurationManager, etwa aus ModelDoc2.ConfigurationManager.
swConfMgr.SetExpanded swFeatMgrPaneTop, True

Siehe auch

Verfügbarkeit

SOLIDWORKS 2018

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

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