hwIPreferenceManager GetDefaultPreferenceFileComponentList
Returns a list of component information for the default preference file.
Syntax
hwIPreferenceManager_handle GetDefaultPreferenceFileComponentList
Application
HyperWorks Tcl
Description
This command returns a list containing component information for the default preference file (the file currently selected). This command returns the menu name, file path, two true/false values and the index in a list. The first true/false value determines if the file is the default preference file (true if it is; false if it is not). The second true/false value determines if the file is currently loaded (true if it is; false if it is not).
Example
hwi GetSessionHandle sess;
sess GetPreferenceManagerHandle pref;
pref GetDefaultPreferenceFileComponentList;
Error
Success (the default preference component list) or an error message is returned.
Keywords
HyperWorks
Tcl
Preference Manager