SolidWorksMakroprogrammierung

Methode · ConfigurationManager

SortConfigurationTree-Methode (ConfigurationManager)

Legt fest, in welcher Reihenfolge der ConfigurationManager die Konfigurationen zeigt.

Syntax

Sub SortConfigurationTree( _
   ByVal InSelType As Long _
)
swConfMgr.SortConfigurationTree swSortType_Literal

Parameter

InSelTypeLongByVal
Die Reihenfolge, ein Wert aus swConfigTreeSortType_e: swSortType_History (0) nach Entstehung, swSortType_Numeric (1) numerisch, swSortType_Literal (2) alphabetisch, swSortType_DesignTable (3) wie in der Konstruktionstabelle.

Beispiel

' swConfMgr ist der ConfigurationManager, etwa aus ModelDoc2.ConfigurationManager.
swConfMgr.SortConfigurationTree swSortType_Literal

Siehe auch

Verfügbarkeit

SOLIDWORKS 2017

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

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