# Sketchup tool cl@ss name

**URL:** <https://forums.sketchup.com/t/sketchup-tool-cl-ss-name/38041>\
**Category:** Ruby API\
**Tags:** selectiontool, context\_menu, selection\
**Created:** [January 27, 2017, 1:48pm UTC](https://forums.sketchup.com/t/sketchup-tool-cl-ss-name/38041 "2017-01-27T13:48:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![matthewBirckbichler](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/matthewbirckbichler/32/19770_2.png) [@matthewBirckbichler](https://forums.sketchup.com/u/matthewBirckbichler)\
**Post date:** [January 27, 2017, 3:08pm UTC](https://forums.sketchup.com/t/sketchup-tool-cl-ss-name/38041/3 "2017-01-27T15:08:19Z")

</div>

> [@john\_drivenupthewall](#):
>
> what is the ‘getMenu’ tool?

I apologize, I meant the ‘getMenu’ **method** (of the ‘SelectionTool’ class). This is essentially what I’m looking to do:

```
class SelectionTool
    def getMenu menu, flags, x, y, view
	menu.add_item("Custom Menu Item"){..code}
    end
end

```

---

_[View the full topic](https://forums.sketchup.com/t/sketchup-tool-cl-ss-name/38041)._
