How to copy Axes tool to my extension toolbar?

#1

I want to add Axes tool to my toolbar in order keep the user attention to that tool.
In the picture bellow it is explained what I want to do.

Is there a way to do that using ruby api?

0 Likes

#2

The SVG image is located in SketchUp’s install directory, you can simply write down whatever tooltip text SketchUp uses and I think you can use send_action to activate the Axes tool.

However I have no idea why you want to do this. There is already a button that does that. Copying it would just waste space on the screen, and add something to your extension that is almost guaranteedly outside the scope of what said extension does.

0 Likes

#3

Thanks a lot. In my extension i’m exporting the model cutting it by red-green plane(ground plane). So I want to set this tool in my toolbar , so the users could easily move the origin point and export the part of the model they want.

0 Likes