Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Stretchy text box in label

Anonymous
Not applicable
I've made a label that provides a different text output depending on the scale of the plan. But I can't figure out how to make it so that the text box of the label can be manually stretched so the words wrap if the text is too big for the location.

Any tips from the genius minds here? Happy to upload the label if that helps.

Using ArchiCAD 21 on Mac Pro OSX v10.13.6.
2 REPLIES 2
It is a bit complicated:

1. You have to use richtext not plain text
2. Setup a width parameter + eventually moving hotspots (adding printsize needs some extra work too)
3. There is a need to add standard wrapping text parameter to Your object
4. There need to be a calculation of the width of the paragraph made prior to the placing the text object (If You need a frame&fill) - the calculation needs to sense the state of the above parameter.

Not promising anything but if I have time I will put some code in this tread.

Piotr
Anonymous
Not applicable
Golly! didn't realise it would be THAT difficult!
Any help is greatly appreciated.