sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Google earth import view ruby action

    scheduled pinned locked moved Developers' Forum
    7 Posts 3 Posters 838 Views 3 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • S Offline
      simonstaton
      last edited by

      Hi,

      does anyone know what the action in ruby is for Tools>Google Earth>Get Current View?

      Simon

      one-reply-to-this-post last-reply-time reply quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        I don't think that there is one... 😞

        TIG

        one-reply-to-this-post last-reply-time reply quote 0
        • S Offline
          simonstaton
          last edited by

          oh crap, so no way of moving it out of the menu and onto my toolbar?

          one-reply-to-this-post last-reply-time reply quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Not readily - you can try a openURL with a cmd file containing arguments ? to open googleearth...
            http://earth.google.com/comapi/
            http://bbs.keyhole.com/ubb/ubbthreads.php?ubb=showflat&Number=267687&site_id=1#import
            etc

            TIG

            one-reply-to-this-post last-reply-time reply quote 0
            • S Offline
              simonstaton
              last edited by

              Thanks Tig,

              I was just playing around with the ruby files for the help menu at the top and was wondering if the other menus such as tools are in a ruby file aswell?

              Simon

              one-reply-to-this-post last-reply-time reply quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                @simonstaton said:

                does anyone know what the action in ruby is for Tools>Google Earth>Get Current View?

                MS Windows ONLY
                Sketchup.send_action( 139 )

                You must have Google Earth already started or else an error dialog pops up (and says just that.)

                I'm not here much anymore.

                one-reply-to-this-post last-reply-time reply quote 0
                • Dan RathbunD Offline
                  Dan Rathbun
                  last edited by

                  @simonstaton said:

                  oh crap, so no way of moving it out of the menu and onto my toolbar?

                  (1) You CANNOT move anything out of any menu.
                  (2) The Google Toolbar already has all the buttons.

                  • Toggle it with: Sketchup.send_action( 10617 )* Show it: UI.set_toolbar_visible('Google', true)* Hide it: UI.set_toolbar_visible('Google', false)

                  I'm not here much anymore.

                  one-reply-to-this-post last-reply-time 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