sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Where can I find webdialog's position and size in su 2018

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 1.7k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wikii
      last edited by

      In su2017 or before, each Webdialog's position and size was stored in registry .

      but where can i find Webdialog's position and size when I use sketchup 2018 ?

      thanks a lot!

      wikii

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        C:/Users/USERNAME/AppData/Local/SketchUp/SketchUp 2018/SketchUp/**PrivatePreferences.json**

        For example, for the "ExtensionStore" toolbar info, you need to find the entries using some grepping and parsing/splitting... for the toolbar

        "RubyWorkspace\\ToolbarsUser-Bar8"; {
          "BarID"; 59661,
          "BarName"; "ExtensionStore"
        },
        

        and from its BarID, its status later on

        "RubyWorkspace\\RubyToolBar-59661"; {
          "Columns"; 0,
          "DockBarId"; 0,
          "Visible"; 1
        },
        

        and for its main dialog details

        "WebDialog_SketchUcation ExtensionStore"; {
          "Height"; 918,
          "Left"; 11,
          "Top"; 84,
          "Width"; 862
        },
        

        for this kind of entry note that another 'prefix' might apply for the newer HTML dialog type - test it..

        TIG

        1 Reply Last reply Reply Quote 0
        • W Offline
          wikii
          last edited by

          @tig said:

          C:/Users/USERNAME/AppData/Local/SketchUp/SketchUp 2018/SketchUp/**PrivatePreferences.json**

          For example, for the "ExtensionStore" toolbar info, you need to find the entries using some grepping and parsing/splitting... for the toolbar

          "RubyWorkspace\\ToolbarsUser-Bar8"; {
          >   "BarID"; 59661,
          >   "BarName"; "ExtensionStore"
          > },
          

          and from its BarID, its status later on

          "RubyWorkspace\\RubyToolBar-59661"; {
          >   "Columns"; 0,
          >   "DockBarId"; 0,
          >   "Visible"; 1
          > },
          

          and for its main dialog details

          "WebDialog_SketchUcation ExtensionStore"; {
          >   "Height"; 918,
          >   "Left"; 11,
          >   "Top"; 84,
          >   "Width"; 862
          > },
          

          for this kind of entry note that another 'prefix' might apply for the newer HTML dialog type - test it..

          Great!
          Many thanks!
          wikii

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement