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

    Save and restore cursor?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 506 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.
    • hsmyersH Offline
      hsmyers
      last edited by

      I'd like to come back from using my tool with the previous cursor restored or lacking that switch to the nil cursor. I realize this implies a switch back to the previous tool selected. Is there some ruby API way to accomplish this?

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

        model.tools.push_tool(tool) model.tools.pop_tool

        http://www.sketchup.com/intl/en/developer/docs/ourdoc/tools#push_tool

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

        1 Reply Last reply Reply Quote 0
        • hsmyersH Offline
          hsmyers
          last edited by

          @thomthom said:

          model.tools.push_tool(tool) model.tools.pop_tool

          http://www.sketchup.com/intl/en/developer/docs/ourdoc/tools#push_tool

          My thanks...and off to read the fine manual (err...what manual?) 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