cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Parameter "height" in the plan

mest79
Newcomer
Hi!

I have a object gdl and I want to indicate in plan what height the object is placed on.

I want to visualize the parameter "base height" in the plan.

Thanks
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
7 REPLIES 7
Barry Kelly
Moderator
If it is your own object and you can program in GDL then you could adjust the script to show text for the elevation.

Otherwise add a label.
There is an 'elevation label' that should do what you want.

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
mest79
Newcomer
Barry,
I created the object myself. The object is very simple and I can program in GDL, but I don'd know how to edit the GDL to create a "label" already inserted in the object.
Thanks!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
Barry Kelly
Moderator
You don't need to script a label, just add some text with the symbol height.
TEXT2 0,0, SYMB_POS_Z
You will need to add a Boolean switch and an IF/THEN statement if you want to turn the text on and off.


Or you can just as a label with the label tool to each instance of the object in your plan - which you can turn on or off as needed.

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
mest79
Newcomer
Perfect!!!
Thank you Barry!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
mest79
Newcomer
Barry wrote:
You don't need to script a label, just add some text with the symbol height.
TEXT2 0,0, SYMB_POS_Z
Barry.
Is it possible to add decimals?
Now the text2 shows "3" (3 meters) and I prefer "3.00"

Thanks!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
Barry Kelly
Moderator
You will need to use the STR function.
probably something like ...

TEXT2 0, 0, STR("%0.2m", SYMB_POS_Z)

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
mest79
Newcomer
Thanks!!!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10