I'm a newbie, error double click push/pull in me code

smart_pushpull_group_menu_final.rb (9.5 KB)
I’m a newbie, I want to add a double click operation to repeat the previously entered parameters but it doesn’t work, it has to be pressed 3 times instead of 2 clicks, and the block created only has the direction of the original face receiving the push/pull value and not applicable to other faces.

I did not checked fully but non of the #onLButtonDoubleClick #onMButtonDoubleClick #onRButtonDoubleClickmethods from Tool interface implemented in your tool.
I see only def onDoubleClick(flags, x, y, view) which wont be called automatically neither you called it.

I did not used any of above mentioned double click methods, because as far as I remember there was a conflict with a single click ( eg. with #onLButtonDown) when I made examination on it in a past…


Please edit the topic title for anything else meaningfully sentence describing your real problem.

2 Likes

I edited the title, I’m not very good at writing the code above