Andreas, don’t know if you’re “listening” or not, but:
I’m working on a graph to help fix the 2017 text issues.
Basically what I’m doing is exporting a list of all Text Elements from 2016.
Then, after the .rvt file is upgraded, I run another graph and compare the two.
If the 2017 file’s Text Element has more lines, that tells me that a word got wrapped, so I make the Text Box a bit wider.
I bastardized the Clockwork nodes TextElement.Text and TextElement.SetText and in Python, changed the item.Text parameter to item.Width.
I thought it would behave itself, and it does if I pass a single element.
But if I pass a list, it looks like it only does the first one & tries to change that one repeatedly.
If I use the unchanged TextElement.SetText, it works as expected. But all I did was change “.Text” to “.Width” !
So, is this something I screwed up, or is it something in the TextElement.SetText node? Or is it working as intended and I don’t know how to use it properly?
BTW. Thanks for writing Clockwork. I don’t know where I’d be without it!
TextElement.SetWidth.dyf (10.5 KB)
TextElement.Width.dyf (4.3 KB)