sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    REQ: Entity info as toolbar (not a window) plugin

    Scheduled Pinned Locked Moved Plugins
    5 Posts 4 Posters 478 Views 4 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.
    • N Offline
      NiKenDaCk
      last edited by

      Hey.
      I'd like to ask if it's possible to do a simple plugin, which can run windows (entity info, outliner, soften edges etc.), like toolbars. to make a similar workspace as in Photoshop for example. I especially need entity info window run as a toolbar

      Thanks

      Here I made one example in PS...

      http://dl.dropbox.com/u/865952/_obr/req_plg.jpg

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        There was a guy who was working on something like that a year or two ago. But he only displayed screenshots. Never saw anything more from it.
        It's technically plausible, but far from trivial and I don't think that many people got the know-how.

        Side note: why do you need it to be as a toolbar (docked window).

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

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

          API access to native windows is limited.
          If you are on a PC
          Sketchup.send_action(21488)
          will open the 'Entity Info' window if it's closed, and toggle its rolled-up state if it's open.
          But that's about it ! πŸ˜•
          You can do this for most of the windows.
          CPhillips and/or JimFoltz wrote a PC only 'toggle-window' tool that rolls-up the Outliner if it's open and rolled-down... http://forums.sketchucation.com/viewtopic.php?p=123043#p123043 so you could look at that approach for your ideas too.
          Docking them automatically is nigh on impossible - but they do remember their last state

          MAC versions are not possible, as far as I know...

          TIG

          1 Reply Last reply Reply Quote 0
          • N Offline
            NiKenDaCk
            last edited by

            I don't need it vitally, of course, just to make similar workspace like in PS. Because Entity info is window, which I use very often and, like measurements, wnat to dock it not to interfer with the view.

            BUT when it's that complicated as TIG's says let it be...

            Anyway, thanks for reply.

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

              Jim Foltz has a custom toolbars script that you might want to look at.
              http://sketchuptips.blogspot.com/2008/06/custom-toolbars-release-08-06-01.html
              It doesn't necessarily dock the window like you want, but it would allow you to open/close it with a toolbar icon. Jim's script doesn't actually include the Entity window, outliner, etc but it's pretty easy to create them. Look at the format of the Model Info button and use the sketchup.send_action # that TIG also mentioned. Other send_actions can be found here: http://code.google.com/apis/sketchup/docs/ourdoc/sketchup.html#send_action. I actually set up all my dialogs like this recently. I'm not sure yet if it's a huge time-saver or not, but we'll see.

              Another thing you could try is assigning a shortcut key to Window/HideDialogs. This will close all the dialogs that you currently have open. Repeating the shortcut will open them again.

              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