Péter Baksa

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 224 total)
  • Author
    Posts
  • in reply to: ArchiCAD 23 & GLOB_​FRAME_​NR #18249
    Péter Baksa
    Keymaster

    No, this is an unknown bug, I will report it.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Show overlapping prisms / blocks as solid #18222
    Péter Baksa
    Keymaster

    Hi,

    the line elimination in mask of CPRISM_{3} only works when the edges are in the same place, it doesn’t calculate intersections.

    Other ways to do it:
    – model CPRISMs that only touch eachother
    – write a loop that PUTs the hole coordinates in a large CPRISM
    – use ADDGROUP, it removes lines at intersections

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Spam posts #18212
    Péter Baksa
    Keymaster

    We are looking into resetting the flags.
    An alternative solution to get notified about new posts is using the RSS feed https://gdl.graphisoft.com/forums/feed

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Cube Frame parametric #18211
    Péter Baksa
    Keymaster

    Hi,

    the easiest way is to use MODEL WIRE.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Hide Script #18206
    Péter Baksa
    Keymaster

    Programmer’s text editors show it usually somewhere in the status bar (Notepad++, VS Code).
    To be very sure, use a hex editor, the first three bytes should be EF BB BF.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Hide Script #18201
    Péter Baksa
    Keymaster

    Hi Ling,

    this should work. Make sure the XML file encoding is UTF-8 with BOM.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Possible to edit 2D text in plan? #18195
    Péter Baksa
    Keymaster

    Hi,

    editing the text is not possible.
    Using TEXTBLOCK, it is possible to define the maximum width for the box. STW function returns the width of a string, you can use that to specify a character spacing or width factor in the TEXTBLOCK.
    Left/right justification or alignment can be set in the PARAGRAPH command.

    Here are our tutorials on text formatting.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: MEP Connections #18142
    Péter Baksa
    Keymaster

    Hi Dániel,

    it’s not possible to create MEP connections from another add-on. You can only write GDL objects that must be placed manually through the MEP add-on.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: loop and richtext2 #18139
    Péter Baksa
    Keymaster

    I tried Jože’s example with hard-coded content[][], and it was good with the repeating paragraph name.
    The code working with content[1][1] and not with content[i][1] means the problem is after index [1][1].

    You can debug your data using print content before the loop.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: loop and richtext2 #18136
    Péter Baksa
    Keymaster

    Are you sure that all of the elements in the array are strings? Are you sure row isn’t bigger than the size of the array?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: TUBE twisting #18134
    Péter Baksa
    Keymaster

    No, currently that’s not planned.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Where to place macro return parameters? #18133
    Péter Baksa
    Keymaster

    It should work with the macro called from master script. You will only get the returned_parameters in the 2D context. If you need it in other contexts, also return them form the macro 3d, etc. scripts.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Test All Library Parts #18067
    Péter Baksa
    Keymaster

    It looks like a bug, I will report it.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    Péter Baksa
    Keymaster

    No, there isn’t.
    Of course you can write call "my_macro" parameters ... omitting some.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Where to place macro return parameters? #18065
    Péter Baksa
    Keymaster

    Hi, place it at the end of the other script, from which you need to return it.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

Viewing 15 posts - 76 through 90 (of 224 total)