openstudiocore/sketchup_plugin/openstudio/sketchup_plugin/lib/PluginManager.rb
# clear all preferences, this should be a complete list
clear all preferences, this should be a complete list
clear all preferences this should be a complete list
def clear_preferences
      write_pref("Check For Update #{self.version}", nil)
      write_pref("New Zone for Space", nil)
      write_pref("Disable OpenStudio User Scripts", nil)
      write_pref("Unit System", nil)
      write_pref("Erase Entities", nil)
      write_pref("Last Construction Sets Import Dir", nil)
      write_pref("Last Constructions Import Dir", nil)
      write_pref("Last Idf Import Dir", nil)
      write_pref("Last OpenStudio Dir", nil)
      write_pref("Last OpenStudio Import Dir", nil)
      write_pref("Last Schedules Import Dir", nil)
      write_pref("Last Space Loads Import Dir", nil)
      write_pref("Open Dialogs", nil)
      write_pref("Text Editor Path", nil)
      write_pref("Warn on Idf Export", nil)
      write_pref("Warn on gbXML Export", nil)
      write_pref("Show Errors on Idf Translation", nil)
      write_pref("Show Warnings on Idf Translation", nil)
      write_pref("Show Errors on gbXML Translation", nil)
      write_pref("Show Warnings on gbXML Translation", nil)
    end
def clear_preferences write_pref ( "Check For Update #{self.version}" , nil ) write_pref ( "New Zone for Space" , nil ) write_pref ( "Disable OpenStudio User Scripts" , nil ) write_pref ( "Unit System" , nil ) write_pref ( "Erase Entities" , nil ) write_pref ( "Last Construction Sets Import Dir" , nil ) write_pref ( "Last Constructions Import Dir" , nil ) write_pref ( "Last Idf Import Dir" , nil ) write_pref ( "Last OpenStudio Dir" , nil ) write_pref ( "Last OpenStudio Import Dir" , nil ) write_pref ( "Last Schedules Import Dir" , nil ) write_pref ( "Last Space Loads Import Dir" , nil ) write_pref ( "Open Dialogs" , nil ) write_pref ( "Text Editor Path" , nil ) write_pref ( "Warn on Idf Export" , nil ) write_pref ( "Warn on gbXML Export" , nil ) write_pref ( "Show Errors on Idf Translation" , nil ) write_pref ( "Show Warnings on Idf Translation" , nil ) write_pref ( "Show Errors on gbXML Translation" , nil ) write_pref ( "Show Warnings on gbXML Translation" , nil ) end
clear all preferences, this should be a complete list
clear all preferences this should be a complete list