Reading master tool settings

Reading master tool settings
 1# This example displays the names of all the import/export master
 2# tool settings from the active database in the output toolbox
 3
 4# Create a local variable for the output toolbox
 5ot = impact.gui.output_toolbox
 6
 7# Clear the output toolbox
 8ot.clear()
 9
10# Find all the master tool settings
11settings = impact.active_database.find_master_tool_settings(ipMasterSettingType.mstImportExport)
12
13# Check the settings were found
14if not settings.isNone():
15
16    # Iterate through all the found settings
17    for setting in settings:
18
19        # Display the name of the setting in the output toolbox
20        ot.add(setting.name)