Péter Baksa

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 224 total)
  • Author
    Posts
  • in reply to: Add adjustable curves to my fill #18556
    Péter Baksa
    Keymaster

    Hello,

    all the points you want to adjust have to be parameters. Simply code them as editable hotspots.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Read Name of Project #18551
    Péter Baksa
    Keymaster

    Why do you need to access the file in the parameter script?
    What kind of information is stored in the file, and why do you want to change parameters based on that?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Parameter A and B – original parameter #18550
    Péter Baksa
    Keymaster

    orig_A and orig_B don’t have to be parameters, they can be variables or numbers in the code too. Maybe it’s easier to find them if they are parameters.
    Another solution can be to resize the drawing to be 1×1 m, thus you can write MUL2 A, B instead of MUL2 A/1, B/1. A and B can be the original size of the drawing in this case.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Read Name of Project #18542
    Péter Baksa
    Keymaster

    The reason is hotlinks – by design this is the name of the host project, but modules are read-only, they can’t change their contents’ parameters.

    Could you elaborate on the problem to solve? Why do you place the information to compare in the filename and a text file? Maybe other workflows are possible: embedded text file in the project, properties, library globals, model view options, etc…

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Parameter A and B – original parameter #18537
    Péter Baksa
    Keymaster

    Hi Manuel,

    from the script you don’t have it. For what would you need it?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: ArchiCAD 23 & GLOB_​FRAME_​NR #18528
    Péter Baksa
    Keymaster

    The fix is targeted for the next AC23 update. I cannot say a date. Generally I am not in a position to handle the priority of bugs, please contact GRAPHISOFT support. Things might go faster if they know about it.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Favorites for Details #18526
    Péter Baksa
    Keymaster

    Hi James,

    Sorry, this is a bug with other markers and labels too.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Door Call #18521
    Péter Baksa
    Keymaster

    Check whether the swing lines work with the same transformations as the door leafs. Is there an extra or missing del somewhere before the subroutine call?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Increment an integer parameter with object placement #18509
    Péter Baksa
    Keymaster

    Not really, the library isn’t designed to allow communication between objects.
    There maybe a hackish solution using the text I/O addon, but that wouldn’t handle delete, undo/redo and copy/paste workflows.

    After placement ArchiCAD will auto-increment the ID of the next element in the infobox if it ends with a digit.

    You can use GLOB_INTGUID if you don’t need to count the objects, just a distinct ID.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Write Story Number into Parameter (2) #18505
    Péter Baksa
    Keymaster

    Hi Joachim,

    “Story” is not available in parameter script.
    You can use REQUEST (“Home_story”, “”, index, story_name) instead. A zone can be higher than one story, but always has a home story.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Using Variables Before They're Defined #18499
    Péter Baksa
    Keymaster

    Hi Benjamin,

    TEXTBLOCK width can be 0 to automatically calculate the width, or you can give a value, and that will be used.

    You can later place that texblock with RICHTEXT2, so there is the place for transformations if the width is automatic.

    Also you can return values from macros using RETURNED_PARAMETERS, maybe the width calculation is better to be done in the macro.

    We have a tutorial about TEXTBLOCK:

    16. Advanced Text Handling

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Polygon area #18496
    Péter Baksa
    Keymaster

    Hi,

    Does it help if your polygon is regularized? Counterclockwise order of points, no self-intersection, no points on other edges.

    Currently we don’t have an universal solution for area calculation in the ARCHICAD Library.
    You can write your own code using the Shoelace formula.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Calling a macro in a MASTER_​GDL file #18473
    Péter Baksa
    Keymaster

    I will reply when I have an answer to that.
    Meanwhile could you describe why do you need this solution? Couldn’t a Library global work for you?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Calling a macro in a MASTER_​GDL file #18469
    Péter Baksa
    Keymaster

    Hi Nick,

    this document says that MASTER_GDL is executed after loading the library.
    It says it can include GDL extension-specific commands. I tried with the DateTime add-on, that works. Macro calls are not listed though.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Beam and column display – model view options #18468
    Péter Baksa
    Keymaster

    Hi, sorry, but it is not possible currently.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

Viewing 15 posts - 46 through 60 (of 224 total)