Gergely Fehér

Forum Replies Created

Viewing 15 posts - 196 through 210 (of 249 total)
  • Author
    Posts
  • in reply to: Displaying GDL-2D-Script – correct display-refresh #2006
    Gergely Fehér
    Keymaster

    I need some more information, to know the exact problem: Why don’t you use an elevation view for that? Is there any problems you can’t avoid with the elevation?

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Comprehensive section on globals and requests #2005
    Gergely Fehér
    Keymaster

    Geoff, I’m not sure it needs a complete post, I’ll try to answer it shortly here. From AC19 we use font types value lists from the “Archicad_library_master”. If you open it from the editor, you’ll see how we add value lists to all the loaded library parts. You can do the same, add your own “master” libpart to your package, and create value list for your own libparts. This master libpart should be under the “Library Master” subtype. Maybe later we can describe it with more details, for now, feel free to ask more questions if needed.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Graphical editing in labels #2004
    Gergely Fehér
    Keymaster

    James, if there is a problem with mirrored section markers, then it is a different issue. Can you describe it a bit more or send us a testfile in mail (gdlcenter@graphisoft.com)

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: ID Coordinate dimension #2003
    Gergely Fehér
    Keymaster

    ARCHICAD automatically increases the ID, if there is a number in it. I tried with writing simply “001” to that infield, then placed many instances and the ID changes after each placement.
    On the “2D Text and Marker” tab page, there is a checkbox under Stamp Content for showing the ID, did you check that?

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Displaying GDL-2D-Script – correct display-refresh #1987
    Gergely Fehér
    Keymaster

    The problem is that floorpan redraw is based on the elements normal positions and sizes. If you do not have your windows’ normal “bounding box” in your view, then it won’t be redrawn. So please use views containing your windows, and then this bug is eliminated.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Request name in 3d script and Background processing #1978
    Gergely Fehér
    Keymaster

    You can use “Name_of_material” request in 3d, but you shouldn’t use it in paramscript.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: WALL_​SKINS_​BMAT_​NAMES #1970
    Gergely Fehér
    Keymaster

    Yes, this limitation with the variable names is only for this forum – in ARCHICAD you can use any variables.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: WALL_​SKINS_​BMAT_​NAMES #1968
    Gergely Fehér
    Keymaster

    WALL_SKINS_BMAT_NAMES works only in 2D. In 3D you can use WALL_MAT_A and WALL_MAT_B.

    Note: when you paste codes with loops, please use other variables than “i” or “s” as these characters with brackets will be eliminated as they are interpreted as BBCodes. I changed them in your code snippets to “ii” and “ss” for a better understanding. You can read more about BBCodes here: https://gdl.graphisoft.com/forum-functions/

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    Gergely Fehér
    Keymaster

    Heimo,

    WALL_SKINS_BMAT_NAMES works only in 2d, as it was developed for labeling purposes – it is a bug in the manual that it said it works in 3D too. In a future version 3D functionality can be added to this global. Now I corrected the online version of the reference guide to make it clear.
    In 3D you can use WALL_MAT_A and WALL_MAT_B for the wall surfaces.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: IFC Library part mapping and property use #1960
    Gergely Fehér
    Keymaster

    There is a set of application queries to get IFC properties and their values from library parts, search for Tags and categories on this page: https://gdl.graphisoft.com/reference-guide/application-query-options/
    You can check the usage of this queries in “Tags and categories label” in ARCHICAD19. I hope it helps.
    By the way I think IFC properties should not control objects parameters, as if the user changes anything in the IFC values, parameter script of the objects will not run – so it can cause an inconsistent result.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: master_​gdl – user global variable usage #1928
    Gergely Fehér
    Keymaster

    Hi Robert,

    Did you try it with “Reload Libraries and Apply all the Changes”? If you tried with this, and it did not help, then could you send us a test file to let us check it? You can send it via mail to gdlcenter@graphisoft.com, and please tell us about your operating system and ARCHICAD version and buildnum.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Automatic Dimensions in Schedules for Doors and Windows #1915
    Gergely Fehér
    Keymaster

    You need to do the following to use the automatic dimensioning:

    1. add the proper fixed name parameters to your object:
      1. wallhole size: ac_wallhole_width, ac_wallhole_height
      2. reveal size: ac_reveal_width, ac_reveal_height
      3. unit size: ac_unit_width, ac_unit_height
      4. egress size: ac_egress_width, ac_egress_height
      5. leaf size: ac_leaf_width, ac_leaf_height
    2. fill all nominal sizes with the proper values in paramscript
    3. add hotspots to the objects
      • each hotspot must be seen on the actual view or schedule for automatic dimensions
      • each hotspot must have a unique id
      • horizontal and vertical distance of the hotspots must be equal with the length stored in the corresponding parameter value

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: What is the proper replacement for GLOB_​CONTEXT=1? #1903
    Gergely Fehér
    Keymaster

    Try this way:

    EPS = 0.0001
    ....
    ha = A/s    ! if it is needed later in the script - if not, then move in the "if" below
    bCurvedWall = abs(WIDO_ORIG_DIST) > EPS   ! later it can be used to determine 
    if bCurvedWall then
        hNg = ATN (hA / abs(WIDO_ORIG_DIST))
    endif

    Later in the script you can easily separate the parts corresponding to curved walls with the bCurvedWall variable. It’s much better separating working methods by their original purpose, than mixing up context with them.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Radial opening sides with wallhole #1891
    Gergely Fehér
    Keymaster

    You should try the wall niche instead – that can create pyramidal or wedge shaped cutting bodies – same as the cutform command.
    In some situations, you’ll need more than one cutting bodies to have the proper cut on each sides – especially with reveals. Many of the standard shapes are handled by the WallholeCut macro in ARCHICAD library, you can check that too.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

    in reply to: Masking Edge Lines #1889
    Gergely Fehér
    Keymaster

    You can try adding “body -1” commands between each prism_-s, and then if they have the same surface and they are in the same level they should be merged.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

Viewing 15 posts - 196 through 210 (of 249 total)