We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

#Hotlink and Element ID in a label

davidstonearchicad21
Contributor
I'm calling and displaying the #Hotlink and Element ID with <PROPERTY-69A58F6F-DD3B-478D-B5EF-09A16BD0C548>

As you can see below it works but as soon as you pan, it changes to "#Hotlink and Element ID"

Here is my code:
mul2     A/1.735130, B/1.628978
add2     10.32665926373, -2.051438751016
define style{2}    "AC_STYLE_1" "Arial",         10.5,      0

paragraph		"AC_PRG_2"      1,            0,            0,            0, 1.10149859155
    pen     penAttribute_1
    set style "AC_STYLE_1"
        "<PROPERTY-69A58F6F-DD3B-478D-B5EF-09A16BD0C548>"
endparagraph
textblock		"AC_TEXTBLOCK_2" 77.1002996086,      1, 317.9206690182,            1,            1,            1, 
        "AC_PRG_2"
richtext2		-10.02215915835, 3.680416506716, "AC_TEXTBLOCK_2"


edit* i dont know why there are three images here, please disregard the first one.
AC24



2 x Xeon E5-2667 v2 (16c/32t @ 3.3-4.0 GHz)

64Gb RAM(ECC) Quad channel 1333Ghz (next upgrade 1866Ghz)

Nvidia GeForce GTX 1080 Ti 11Gb

500Gb 840PRO SSD, 3 TB HDD (next upgrade PCIe NVMe SSD)
3 REPLIES 3
Isn't there an autotext for it? (in 22 it is)

Piotr
davidstonearchicad21
Contributor
There is in 21, however I can't achieve the right look with it. Programming a label with Hotlink Master ID + Element ID is my only option, but i think i'm onto it with REQUEST
AC24



2 x Xeon E5-2667 v2 (16c/32t @ 3.3-4.0 GHz)

64Gb RAM(ECC) Quad channel 1333Ghz (next upgrade 1866Ghz)

Nvidia GeForce GTX 1080 Ti 11Gb

500Gb 840PRO SSD, 3 TB HDD (next upgrade PCIe NVMe SSD)
A quick advice:
Do not use the hardcoded property GUID, as it may change in some circumstances (maybe the ID will not but I would be cautious).

See this tutorial: http://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels to get any property.

BTW. You of course know that You can switch off the pointer, and rotate the default autotext label freely

Piotr