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

    Google earth import view ruby action

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 3 Posters 782 Views 3 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.
    • S Offline
      simonstaton
      last edited by

      Hi,

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

      Simon

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

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

        TIG

        1 Reply Last reply 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?

          1 Reply Last reply 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

            1 Reply Last reply 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

              1 Reply Last reply 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.

                1 Reply Last reply 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.

                  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