# Adding custom items to right-click context menu

**URL:** <https://forums.sketchup.com/t/adding-custom-items-to-right-click-context-menu/42702>\
**Category:** Ruby API\
**Tags:** tools, ruby, api, right-click, context\_menu\
**Created:** [April 10, 2017, 9:31am UTC](https://forums.sketchup.com/t/adding-custom-items-to-right-click-context-menu/42702 "2017-04-10T09:31:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DanRathbun](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/danrathbun/32/500_2.png) [@DanRathbun](https://forums.sketchup.com/u/DanRathbun)\
**Post date:** [April 10, 2017, 11:37pm UTC](https://forums.sketchup.com/t/adding-custom-items-to-right-click-context-menu/42702/3 "2017-04-10T23:37:09Z")

</div>

There is an example posted in this thread:

> [@Set attribut date shadow dynamic component](https://forums.sketchup.com/t/set-attribut-date-shadow-dynamic-component/42371/17):
>
> I added a create command to make a non-seasonal component into a seasonal one. Their are also now a debug switch. At the console switch on debugging: SimJoubert::SeasonalComponents.debug= true The name of the seasonal attribute key can be set at the top of the module via the constant: SEASON\_ATTR Here is the file to download … [seasonal\_components.rb](https://forums.sketchup.com/uploads/short-url/kO4mGHoUzDbz1tq0dtlj3zlUQZh.rb) (3.6 KB) … which looks like: # encoding: UTF-8 require "sketchup.rb" require "pp" module SimJoubert module SeasonalComponents exten…

---

_[View the full topic](https://forums.sketchup.com/t/adding-custom-items-to-right-click-context-menu/42702)._
