sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Mouse middle-button: Orbit vs MyTool

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

      The behavior associated with the Orbit Tool is very useful (activation over any tool by the mouse middle-button). Now I created "MyOrbit tool" and would like it behave as the standard Orbit tool (kind of replace it).

      Is that possible ? (or should it goto Ruby API WishList ?)

      Thank you
      Marcio

      1 Reply Last reply Reply Quote 0
      • R Offline
        remus
        last edited by

        Ive got a feeling you can use the middle mouse button in SU ruby because its 'broken.' Sorry i cant give you more details, although i think there was a short thread about it recently (in this forum.)

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • M Offline
          MarcioAB
          last edited by

          Yes, the onMButtonDown API when used inside any new tool "is broken". I already included a fix for that on the "WishList" stick.

          But now I realized the need of more than that. Something that works above the level of the tools - where onMButtonDown is. Maybe a new API like "Sketchup::onGlobalMButtonDown" that allows to associate my new Orbit tool to this trigger (and so, disassociate the default Orbit tool from that).

          I would like to know if there is any workaround (maybe change something on CameraOrbitTool class - where is this class?) before include this "Sketchup::onGlobalMButtonDown" on the WishList.

          Thank you.

          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