A
by Ace on 4 Aug 2022, edited 6 Feb 2023
#
So I'm trying to draw up a simple plan and want to get the room area from the IFC space using a smart tag like Dion uses here:
@ 20:12
I managed to get the name, so the link is working, it's 'smart' yay, but adding the quantity, I'm not sure how.
I added the Text
It has a relationship to the IFcspace "Garage"
The text uses this layout to get the name from description:
{{description}} and it displays as 'Garage'
but getting the {{NetFloorArea}} does not work.
I don't code, so maybe I'm misunderstanding the syntax or something, how could I list the net floor area aswell?
T
by theoryshaw on 4 Aug 2022
#
+1 votes
try Qto_SpaceBaseQuantities.NetFloorArea
from: https://wiki.osarch.org/index.php?title=BlenderBIM_Add-on_Adding_labels_linked_to_properties_and_quantities
A
by Ace on 4 Aug 2022
#
@theoryshaw Thanks for the suggestion! I should really ref the wiki more.
sadly it seems to throw up an error:

and then the text displays nothing
I tried with the property set aswell and no bueno, material didn't either but it didn't give an error
so attributes work, psets don't, Quantities don't, materials don't,
I think this qualifies as a bug at this point?
T
by theoryshaw on 4 Aug 2022
#
can you share the IFC file, or a parred-down version of it?
T
by theoryshaw on 4 Aug 2022
#
also, you might have to do this:
A
by Ace on 4 Aug 2022
#
@theoryshaw said:
can you share the IFC file, or a parred-down version of it?
I've made a kinda once off version of it that has the same issue, it's attached, thanks for the input so far Theoryshaw
@theoryshaw said:
also, you might have to do this:
Yes ya I classified as an IFCspace to get the "name" attribute to work, and added the Qto_SpaceBaseQuantities with the guessed areas
T
by theoryshaw on 4 Aug 2022
#
+1 votes
I think this qualifies as a bug at this point?
i think it might.
I tried {{str(Qto_SpaceBaseQuantities.NetFloorArea)}}
to convert it to a string, but no go.
A
by Ace on 5 Aug 2022
#
I've posted it
https://github.com/IfcOpenShell/IfcOpenShell/issues/2340
Maybe Moult can bring some insight
M
by Moult on 6 Feb 2023
#
+1 votes
@theoryshaw is indeed correct and he has fixed it! :)