I am writing a tool that needs the middle mouse button but I am having trouble getting it to work.
The left mouse buttons all seem to work fine but onMButtonDown and onMButtonDoubleClick are never called and onMButtonUp is only called after a double click.
Has anyone got this to work. Is this a known bug?
Chris
Middle mouse button.
8 posts
• Page 1 of 1
Re: Middle mouse button.Same problem here: Has anyone got this to work ? Or is this a known bug?
The code below shows correctly "L" and "R" in the "Ruby Console" but never shows "M". Instead "M" it triggers the "Orbit tool". Thank you. require 'sketchup.rb' class Test1 def onMButtonDown(flags, x, y, view) puts "M" end def onLButtonDown(flags, x, y, view) puts "L" end def onRButtonDown(flags, x, y, view) puts "R" end end def call1 Sketchup.active_model.select_tool Test1.new end Re: Middle mouse button.Hi Chris,
This is a known issue to our team and should be addressed in a future maintenance release. I'm not aware of any workaround, unfortunately. Re: Middle mouse button.
Sorry for hijacking the thread but I find this post rather discouraging. Not a: In the next release. Just a distant future service release. ![]() I guess SU7 is further into the future than we all hope. ![]() I can't understand why Google gives us nothing. Just some brief overview of approx what and when to make us not lose all hope. Google, we're starving! I guess I'm not the only one to look into alternative softwares just because we dont get ANY info on when and what will be fixed in SU7. End of hijack. Re: Middle mouse button.Hey Jan,
I really wish I could be more clear, but we're talking about timelines that aren't set in stone. I'd rather be vague than be disappointing! I understand your frustration. Let me restate my post to be: this bug has been fixed and will be available in our next release. Re: Middle mouse button.Thanks Scott for you answer. What we really miss here in the Ruby section is a professional feedback from SU Team regarding bugs and missing Ruby features, for example:
- ray casting bug - ray stops on hidden entities or entities on a hidden layers - selection bug displaying also a geometry of a definition - only first attribute restored when saved with SKM material and few more... I understand that not all have to be answered. I am just glad to see you here. Tomasz Author of Thea Render for SketchUp
Re: Middle mouse button.Hi, I have the same problem in 2017...Is this going to be fixed?
Here is the test I did...
8 posts
• Page 1 of 1
|