BlenderBim Smart tag 'get area'?
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?
Comments
try
Qto_SpaceBaseQuantities.NetFloorArea
from: https://wiki.osarch.org/index.php?title=BlenderBIM_Add-on_Adding_labels_linked_to_properties_and_quantities
@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?
can you share the IFC file, or a parred-down version of it?
also, you might have to do this: https://www.dropbox.com/s/wuswfv43l92c889/2022-08-04_14-13-13_Blender_blender.mp4?dl=0
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
Yes ya I classified as an IFCspace to get the "name" attribute to work, and added the Qto_SpaceBaseQuantities with the guessed areas
i think it might.
I tried
{{str(Qto_SpaceBaseQuantities.NetFloorArea)}}
to convert it to a string, but no go.I've posted it
https://github.com/IfcOpenShell/IfcOpenShell/issues/2340
Maybe Moult can bring some insight
@theoryshaw is indeed correct and he has fixed it! :)