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

display the name of a material in the 2D symbol.

Anonymous
Not applicable
Hi All
i've been playing around with this hopefully someone can help.
I want to display the name of a material in my 2D symbol.
eg if a material parameter is set to "paint 1"
how do i get that name to display in the 2d symbol?
3 REPLIES 3
Barry Kelly
Moderator
Add this to the 2D script.

TEXT2 0, 0, material_param

0, 0 can be substituted with the co-ordinates of where you want the text to appear.
material_param is the name of you material parameter.

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
Anonymous
Not applicable
fantastic! that simple & here i was playing around with text strings!
thanks a lot.
Barry Kelly
Moderator
It is very easy to go looking for a difficult soultion in GDL and miss the easy one.
I've done it plenty of times myself.
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