Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 724 Bytes

Developer Notes.md

File metadata and controls

25 lines (18 loc) · 724 Bytes

Developer Notes

Reset Preferences

To reset the preferences in order to test with a clean environment:

Windows: %LocalAppData%\SketchUp\SketchUp 2022\SketchUp\PrivatePreferences.json

Remove:

  • "This Computer Only"/WebCommonDialog_TT_ExtensionSourcesDialog
  • "This Computer Only"/WebCommonDialog_TT_ExtensionSourcesScannerDialog

Size Dialog for Screenshots

d = TT::Plugins::ExtensionSources.app.open_extension_sources_dialog
wd = d.instance_variable_get(:@dialog)
wd.set_size(870, 500) # EW screenshot size
d = ObjectSpace.each_object(TT::Plugins::ExtensionSources::ExtensionSourcesScannerDialog).first
wd = d.instance_variable_get(:@dialog)
wd.set_size(870, 500) # EW screenshot size