OSArch Community

BlenderBim Smart tag 'get area'?

  1. A

    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?

  2. T
  3. A

    @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?

  4. T

    can you share the IFC file, or a parred-down version of it?

  5. T

    also, you might have to do this:

  6. A

    @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

  7. T

    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.

  8. A
  9. M

    @theoryshaw is indeed correct and he has fixed it! :)

Login or Register to reply.