# Set label / text width

**URL:** https://forum.dynamobim.com/t/set-label-text-width/42955
**Category:** Revit
**Created:** [November 8, 2019, 1:53pm UTC](https://forum.dynamobim.com/t/set-label-text-width/42955 "2019-11-08T13:53:12Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)
#### Post date: [November 8, 2019, 10:02pm UTC](https://forum.dynamobim.com/t/set-label-text-width/42955/3 "2019-11-08T22:02:48Z")

</div>

Might be worth referring here for some python to get you started. 😉

> [@Text Bounding Box? (to help with 2017 text problems)](https://forum.dynamobim.com/t/text-bounding-box-to-help-with-2017-text-problems/4070/13):
>
> @ddelarosa Maybe you can just use the Width property to scale the text witdh with a certain factor. Here is an example that increases the width by 20 % (MANUAL MODE ONLY!) [image] import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import \* clr.AddReference('RevitServices') import RevitServices from RevitServices.Persistence import DocumentManager from RevitServices.Transactions import TransactionManager doc = DocumentManager.Instance.CurrentDBDocument #Preparing input from dyna…

---

_[View the full topic](https://forum.dynamobim.com/t/set-label-text-width/42955)._
