How to use Tool.draw command

I want to draw a temporary rectangular face using code and mouseclick Just like Rectangular menu on toolbar

please give me some examples

Have a look at this tutorial: https://github.com/SketchUp/sketchup-ruby-api-tutorials/tree/master/tutorials/02_custom_tool

1 Like