Mouse middle-button: Orbit vs MyTool
- 
 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
- 
 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.) 
- 
 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. 
Advertisement
 
                             
                             
                             
                             
                             
                             
                            