# \#edge-width-by-tag

**URL:** https://forums.sketchup.com/tag/edge-width-by-tag/2079.md

[Latest](https://forums.sketchup.com/latest.md) · [Categories](https://forums.sketchup.com/categories.md) · [Tags](https://forums.sketchup.com/tags.md)

---

## [Set line weight in Layout with ruby](https://forums.sketchup.com/t/set-line-weight-in-layout-with-ruby/219361)

<div class="topic-metadata">

**Author:** [@killernova](https://forums.sketchup.com/u/killernova)\
**Replies:** 4\
**Last updated:** [February 7, 2023, 2:50am UTC](https://forums.sketchup.com/t/set-line-weight-in-layout-with-ruby/219361 "2023-02-07T02:50:25Z")

</div>

We know we can set line weight by tag in Layout, but I can’t find the relevant API. Does anyone know how to set line weight by tag with ruby?
