cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Label background fill

Brett Brown
Advocate
Hi all, Is it possible to have a label where the background fill follows the text? Say multiple lines of text in the label, each a different length and the background fill steps to follow text length. Not just a rectangle of fill to cover the whole label. Make sense?
Imac, Big Sur AC 20 NZ, AC 25 Solo UKI,
9 REPLIES 9
Anonymous
Not applicable
This isn't possible now!
It would have been nice if it was, though!
Barry Kelly
Moderator
Brett wrote:
Hi all, Is it possible to have a label where the background fill follows the text? Say multiple lines of text in the label, each a different length and the background fill steps to follow text length. Not just a rectangle of fill to cover the whole label. Make sense?
There is a setting for "Opaque" text in the lable tool where you can set the background colour.
It doesn't follow the text exactly but instead fills the entire lable frame.
Not exactly what you are after but as close as you will get I think.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Brett Brown
Advocate
Why was this thread moved? It was a GDL question for the GDL section.
Imac, Big Sur AC 20 NZ, AC 25 Solo UKI,
Barry Kelly
Moderator
Barry wrote:
Not exactly what you are after but as close as you will get I think.
Brett wrote:
Why was this thread moved? It was a GDL question for the GDL section.
As close as you will get without GDL that is.
It is possible in GDL if you request the length of each line of text and add a fill that is the same size.
It would be nice if RICHTEXT had the option for displaying the fill but from what I can see in the manual it doesn't.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Laszlo Nagy
Community Admin
Community Admin
Labels can be simple Text Labels or the Label can be a GDL Object.
From your original post it was not really possible to decide that you are actually asking a GDL question. You very talking about a problem, but did not mention GDL or script or anything.
So I moved it to another thread.
But it seems to me that another Moderator has handled the situation and moved it back here, now that it is clear that it is indeed a GDL question.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Jochen Suehlo
Moderator
Which Globals (in an individual label) are for the On/Off of the opaque background fill and for the color of this fill?
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Anonymous
Not applicable
Joachim wrote:
Which Globals (in an individual label) are for the On/Off of the opaque background fill and for the color of this fill?
Joachim, if they exist, they are undocumented. Or it is a hard coded feature.
We already asked GS on June 2007, remember Frank Beister's "Quo vadis GDL".

I feel only GS can answer this one.
Zsolt, please, is there something new?
Laszlo Nagy
Community Admin
Community Admin
Here are the links of the new GDL features of the last 4 versions, but I don't see any LABEL background related stuff in there.
I think what would be best is to have the ability to get the value of any setting you set in the Settings Dialog or the Info Box in the form of GDL Global Variables.

http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/LibDevGuide/G...

http://download.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/10/LibDe...

http://download.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/11/LibDe...

http://download.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/12/LibDe...
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Anonymous
Not applicable
laszlonagy wrote:
I think what would be best is to have the ability to get the value of any setting you set in the Settings Dialog or the Info Box in the form of GDL Global Variables
May GS hear you, Laszlo. 😉