Balázs Fürtön

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Trimming empty rows from array #3794

    Balázs Fürtön
    Participant

    Thank you, this eliminated my last warning!:)

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: Trimming empty rows from array #3792

    Balázs Fürtön
    Participant

    Initially what I’m doing is loading the wall skin list values to a new array: originally it is stored in a fixed one with ?? rows. I usually have less than that, and when I want to display elements from the original, I only want to see the filled ones.

    So to trim, I compare the values against zero. When it is not zero, the record gets copied – this is where the problem lies: I’m comparing a real number against zero. On the Achicad-Talk forum I found threads regarding this problem, and it seems there is not much to do about it, rather than eliminating exact comparisons and to replace them by a “smaller than” relation.

    http://archicad-talk.graphisoft.com/viewtopic.php?t=4677&postdays=0&postorder=asc&&start=0&sid=21bf9a70de2609686e1f7e68602c9d41

    I’m not that comfortable with programming, so I am not sure whether this is the way to go, or a different approach is more sufficient.

    Edit: Probably I could use a “while” statement with the original array, with a “bigger than” comparison.

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: U-value and Skin List Label for Composite Walls #3779

    Balázs Fürtön
    Participant

    It is caused by the BBCode formatting: [ i ] stands for italic, read more here: http://gdl.graphisoft.com/forum-functions

    Thank you Gergo, I will keep this in mind. Perhaps I should name my running indeces appropriately…:)

    I rewrote the part to pull all physical properties in a single request, now it works!
    From the GDL Guide it wasn’t clear that you don’t request the specific values by name, rather it’s an array that will always contain all the values in the given order.

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: U-value and Skin List Label for Composite Walls #3777

    Balázs Fürtön
    Participant

    [ i ] doesn’t show up for me in the posts (Chrome, Windows). I thought it’s a problem with the code block in my post, but plain text is wrong as well.

    _wallSkins[ 3 ] should be _wallSkins[ i ][ 3 ], etc.

    You need to use a single request with the exact number of variables, to get all the physical properties in one step:

    Thanks, I will try to get them at once.

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: U-value and Skin List Label for Composite Walls #3776

    Balázs Fürtön
    Participant

    Actually it’s not there:

    e.g. these lines from above:
    ! thermal conductivity
    thermCond = REQUEST{2} (“Building_Material_info”, _wallSkins[1], “gs_bmat_physical_properties”, thermalConductivity)
    _wallSkins[3] = thermalConductivity
    text2 dist_thermCond,-i*0.1, STR (“%m”, _wallSkins[3]) + ” W/mK”

    but the _wallSkins array is two dimensional, so instead e.g. _wallSkins[3] it should look like _wallSkins[i][3], etc.

    ! thermal conductivity
    thermCond = REQUEST{2} (“Building_Material_info”, _wallSkins[i][1], “gs_bmat_physical_properties”, thermalConductivity)
    _wallSkins[i][3] = thermalConductivity
    text2 dist_thermCond,-i*0.1, STR (“%m”, _wallSkins[i][3]) + ” W/mK”

    I don’t know why it happened. Can I edit an older post, or is it disabled by design?

    —–

    In the previous post, I asked how to obtain the description or manufacturer: I had a problem with the apostrophes, I didn’t notice, that they were different… The GDL error said ,,missing comma”, but apparently the upper ones count as comma as well.

    The physical properties apart from conductivity are still a mistery though.

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: U-value and Skin List Label for Composite Walls #3772

    Balázs Fürtön
    Participant

    Oh, is it just me, that the code block gets messed up and renders unreadable? (macOS, Safari)

    Another thing, that remains blurry: how do I request the bMat description or manufacturer?

    REQUEST Options

    ! description
    matDescription = REQUEST{2} (“Building_Material_info”, _wallSkins[1], “gs_bmat_description”)
    _wallSkins[3] = matDescription

    In my head the requested string is now stored in the array I’m building (_wallSkins), and I should be able to use it in a text2 command. It doesn’t work though.

    Any suggestions?

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: GDL Sublime #1952

    Balázs Fürtön
    Participant

    Joachim,

    could you please link directly a site which contains further information about GDLnucleus?
    The above linked site mentions b-prisma or Beister Software’s online shop where it is available.
    I’ve wandered through both sites, but couldn’t manage to find any information. Perhaps it’s due to my rusty german, but I would really appreciate if you could help me out.

    Thank you!

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

  • in reply to: Comprehensive section on globals and requests #3784

    Balázs Fürtön
    Participant

    The links are no longer alive, it seems.

    Balazs Furton

    Student of architecture @ Budapest University of Technology and Economics

Viewing 8 posts - 1 through 8 (of 8 total)