Péter Baksa

Forum Replies Created

Viewing 15 posts - 166 through 180 (of 224 total)
  • Author
    Posts
  • in reply to: Ghost UI page in doors #4393
    Péter Baksa
    Keymaster

    Yes, that’s it. Here is some help about the automatic page: https://gdl.graphisoft.com/tips-and-tricks/reveal-options-automatic-or-scripted

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Ghost UI page in doors #4388
    Péter Baksa
    Keymaster

    Sorry, I concentrated on a “Sill” page, I will check with my colleagues.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Ghost UI page in doors #4375
    Péter Baksa
    Keymaster

    The “Sill” macro displays a tabpage, which can be shown using the bSillPage or bSillPageUSA boolean parameters. “Sill” is called from “WallholeFraming”. Maybe one of your macros uses “WallholeFraming” (directly or indirectly)?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Ghost UI page in doors #4372
    Péter Baksa
    Keymaster

    Hi,

    Check the master script also, it is run before the UI script. Also check master scripts of macros called from the master script, and so on… The macro structure of Doors and Windows is quite complicated.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: how to pass a whole array to a geometry functions? #4355
    Péter Baksa
    Keymaster

    Hello,

    here is the technique that you need: How to use parameter buffer for polygons?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: interface GDL #4352
    Péter Baksa
    Keymaster

    Hello,

    read these articles in our Trips & tricks collection:
    about UI pages
    about color picker

    I hope these answer your questions.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Tapered square shape #4347
    Péter Baksa
    Keymaster

    Hi,

    pyramid works for me:

    addz 5
    cutplane
    del 1
    
    pyramid 4, 10, 1 + 4 + 16,
    		-1, -1, 0,
    		 1, -1, 0,
    		 1,  1, 0,
    		-1,  1, 0
    
    cutend

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Profiles shown in labels #4344
    Péter Baksa
    Keymaster

    Hi,

    use parameters ac_wall_profile_name, ac_colu_profile_name, ac_beam_profile_name in the label to get the name of the composite or profile attribute.

    (You could also use the globals WALL_COMPS_NAME, COLU_PROFILE_NAME, BEAM_PROFILE_NAME. For walls WALL_COMPS_NAME returns the composite name too, so that can go wrong if there exists a profile and a composite with the same name.)

    Use that string with profile REQUESTs (“Profile_components”, “Profile_default_boundingbox”, “Profile_default_geometry”, “Profile_component_info”) to get the profile geometry, and draw what you’d like. You can only get the default profile geometry, profile offset modifiers currently aren’t accessible to GDL.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Custom Stair Label #4340
    Péter Baksa
    Keymaster

    Hi,

    Well, your problem was that you divided by 0. The globals contained the information, just the script didn’t write them because of the error.

    It looks like you are unfamiliar with debugging GDL scripts, so some info that might help in case you don’t already know:
    When an error happens in the master or 2D script, a huge dot is displayed on the floor plan.
    An error message is written to the Session Report window (File / Info / Session report), if a few things are set up right:
    – Options / Work Environment / Menus: List all menus in alphabetical order, find the Library Developer menu, press Add Selected to add to menubar.
    – Options / Work Environment / Model Rebuild Options: turn on Write Report (slider position is not important)
    – Library Developer / Always Send GDL messages
    You can force a full re-run of the 2D and 3D GDL scripts by selecting View / Refresh / hold ALT key – Rebuild & regenerate
    I hope you will find these in the german version.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Custom Stair Label #4334
    Péter Baksa
    Keymaster

    Hi!

    Are you creating a label for the label tool?
    What is the error written to session report, and what is your code around that line?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Write text file to embedded library #4324
    Péter Baksa
    Keymaster

    With further inspection I’ve found that this is not an usable solution:
    the parameter script could be run not just for the placed object, but as a mockup-object of the settings dialog. This can overwrite data very easily, eg. changing the library part of the object tool, selecting another object on the floor plan, viewing favorites, or changing to a different tool.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Write text file to embedded library #4321
    Péter Baksa
    Keymaster

    Sorry, I don’t know what is the problem, your examples work fine for me.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Write text file to embedded library #4318
    Péter Baksa
    Keymaster

    Did you add “filelog.txt” to the embedded library?
    New files cannot be created in the embedded library, you can only modify existing ones.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: Write text file to embedded library #4316
    Péter Baksa
    Keymaster

    Hi, what is the error message?

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

    in reply to: How to generate 3D model to PRISM of GDL #4314
    Péter Baksa
    Keymaster

    First read our “GDL Basics” training, it explains the concepts of how GDL works.
    Next, at the beginning of the GDL Reference Guide (General Overview) there are some mentions of non-Graphisoft GDL training material. I would recommend GDL Cookbook for you, it has good short tutorials.

    Péter Baksa
    Library Platform, Software Engineer
    GRAPHISOFT SE

Viewing 15 posts - 166 through 180 (of 224 total)