# View.draw examples using GL\_LINES for multiple lines at a time

**URL:** <https://forums.sketchup.com/t/view-draw-examples-using-gl-lines-for-multiple-lines-at-a-time/31599>\
**Category:** Ruby API\
**Created:** [October 2, 2016, 3:47pm UTC](https://forums.sketchup.com/t/view-draw-examples-using-gl-lines-for-multiple-lines-at-a-time/31599 "2016-10-02T15:47:12Z")\
**Posts on this page:** 1\
**Showing post:** 17

<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 4, 2016, 8:38pm UTC](https://forums.sketchup.com/t/view-draw-examples-using-gl-lines-for-multiple-lines-at-a-time/31599/17 "2016-10-04T20:38:43Z")

</div>

The only I’ve tried this in the past, using the API call:

[**`Sketchup::Model.html#place_component()`**](http://ruby.sketchup.com/Sketchup/Model.html#place_component-instance_method)

It **cannot** easily be used inside a tool, because it changes the active tool (so your tool will be deactivated.)

See this thread where you should have posted your question, instead of hijacking this topic:

- [Ruby API: **Recreate Move Tool**](http://forums.sketchup.com/t/recreate-move-tool/26659)

---

_[View the full topic](https://forums.sketchup.com/t/view-draw-examples-using-gl-lines-for-multiple-lines-at-a-time/31599)._
