# Dynamic component insertion through menu bar

**URL:** <https://forums.sketchup.com/t/dynamic-component-insertion-through-menu-bar/106607>\
**Category:** Dynamic Components\
**Created:** [October 17, 2019, 9:44am UTC](https://forums.sketchup.com/t/dynamic-component-insertion-through-menu-bar/106607 "2019-10-17T09:44:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 17, 2019, 10:47am UTC](https://forums.sketchup.com/t/dynamic-component-insertion-through-menu-bar/106607/2 "2019-10-17T10:47:01Z")

</div>

Via the 3D Warehouse ?

```ruby
UI.menu("Plugins").add_item("Add Models...") {
  Sketchup.send_action("getModels:")
}

```

Auto opening the component option window was discussed in this topic (with a example extension) …

> [@Dynamic Component Options window "Opened" when new drawing opened](https://forums.sketchup.com/t/dynamic-component-options-window-opened-when-new-drawing-opened/97522):
>
> Hi Everyone, Does anyone know how to make the DC options window open automatically when a new SU window/template is started? I have already tried to save as a template with the DC option window open, but even when it is loaded it still does not open automatically, meaning you have to click on the component options icon in the toolbar. Anyone know a way around it? Cheers, Wolf

---

_[View the full topic](https://forums.sketchup.com/t/dynamic-component-insertion-through-menu-bar/106607)._
