2021-09-08 08:11 AM - last edited on 2021-09-14 01:18 PM by Noemi Balogh
Hello.
I can retrieve the core and IFC properties with Application Query Options.
But I cannot retrieve the user-defined properties with this query.
The reference guide describes it as follows.
These queries don’t return user-defined properties.
Then how can I get user-defined properties?
Thank you🙂
Solved! Go to Solution.
2021-09-08 08:03 PM
Short story: You can't.
Long story: You can, if you're a label.
Then you can do "REQUEST('Property_Value_Of_Parent',....)"
2021-09-08 08:03 PM
Short story: You can't.
Long story: You can, if you're a label.
Then you can do "REQUEST('Property_Value_Of_Parent',....)"
2021-09-09 03:07 AM
Thank you for your reply, runxel.
Now I can retrieve user-defined properties with my label.
2021-09-09 04:25 PM
there is one "but"...You can map Your property to IFC property...and then use the routine You used for it.
2022-03-24 11:37 PM
I am coding a new Zone label for Archicad 25 and want to display the a user selected property in the label, typically floor finish. I used "REQUEST('Property_Value_Of_Parent',....)" to retrieve the Zone Name and Zone Number. But it does not appear that same method works for user defined properties.
Here's what works:
ZoneName = "ROOM"
DIM propertyValues[]
rrr = REQUEST ("Property_Value_Of_Parent", "Builtin.Zone_ZoneName", type, dim1, dim2, propertyValues)
IF rrr > 0 THEN ZoneName = propertyValues[1]
Here's what does not work. In this case rrr returns zero. (bot_prop is the parameter where you nominate the name of the property you want to display.)
ZoneProp = "FLOOR"
DIM propertyValues[]
rrr = REQUEST ("Property_Value_Of_Parent", bot_prop, type, dim1, dim2, propertyValues)
IF rrr > 0 THEN ZoneProp = propertyValues[1]
Any ideas? Thanks.
2022-03-25 12:56 AM
Hi, Geoff.
You should post this in the forum, not in this post.
I have not tried zone label yet.
2022-03-31 04:14 PM
Hi,
the UI nomenclature might be outdated but this is the way: https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels
2023-04-10 11:18 PM
Is it work with Markers or only with Labels?
2023-04-20 11:26 AM
Works in labels & markers.