Gergely Fehér

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 248 total)
  • Author
    Posts
  • in reply to: Section Marker Tail #3822

    Gergely Fehér
    Keymaster

    You need to set/use the AC_MarkerSize parameter correctly, it will shorten the line to the proper length.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: Building Material List #3821

    Gergely Fehér
    Keymaster

    No, it is not possible.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: Again, Global parameters #3810

    Gergely Fehér
    Keymaster

    GLOB_HSTORY_ELEV is a project dependent global variable, so it is not allowed to use it in parameter script. In gdl elements there is no workaround for it.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

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

    Gergely Fehér
    Keymaster

    if WALL_SKINS_PARAMS[ i][2] # 0 then –> if abs(WALL_SKINS_PARAMS[ i][2]) > 0.0001 then

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: Return parameters without a parameter #3791

    Gergely Fehér
    Keymaster

    The returned parameters is just a “simple value list” in the specified order – it is not really “parameters”, just variables in the scripts.

    You need to declare the list of values to be returned at the end of the called macro’s script, like this:

    end value1, value2, value3

    Then in the caller object, you need to specify the variables to where you want to fill in these values:

    call “samplemacro” parameters …..
    returned_parameters variable_receives_value1, variable_receives_value2, variable_receives_value3

    I hope it helps, if not, please upload a sample which you can’t solve. (Upload in zip please, as gsm files are forbidden by the hosting service provider of this site.)

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

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

    Gergely Fehér
    Keymaster

    [ 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.
    It is caused by the BBCode formatting: [ i ] stands for italic, read more here: http://gdl.graphisoft.com/forum-functions

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

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

    Gergely Fehér
    Keymaster

    You need to use a single request with the exact number of variables, to get all the physical properties in one step:
    n = REQUEST{2} (“Building_Material_info”, “Brick”, “gs_bmat_physical_properties”, thermalConductivity, density, heatCapacity, embodiedEnergy, embodiedCarbon)
    You can not split it up to 5 requests…

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: DEFINE MATERIAL #3763

    Gergely Fehér
    Keymaster

    Can you please specify the problem a bit deeper? What dou you exactly want to do?

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: VARTYPE issues #3762

    Gergely Fehér
    Keymaster

    Hi,

    It is caused by the bad design of the STR command, which can not be corrected, due to compatibility issues. Sorry, but I can’t help with a quick fix or a real workaround. Maybe you can try with usign spit command, but I’m really sure that can fit all the workflows you need.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: XML addon & script location #3676

    Gergely Fehér
    Keymaster

    Hi Michael,

    If the data is not changing too often, I think I would create a macro, which stores the possible value sets and return them to the caller doors/windows with returned parameters. And if there is a need to change the stored data, I would regenerate the macro – maybe I would write a python script to create a macro in xml format from the data source, and then compile the macro with LP_XMLConverter. After that, you can change the macro in the project libraries.
    This solution would be much faster in AC, than always reading xml files in paramscript. Of course, it needs some more work, when there are changes.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: Limitations of GDL Addons #3671

    Gergely Fehér
    Keymaster

    Joachim,

    As I know, there is no exact limit for reading xml lines, but according to my experience, it can be extremely slow with big amounts of data. If you really need to use so big files, then I suggest to create an addon, that can handle the data files, or create a script that converts the data to a macro (if it is possible…).

    Can you tell me more about the development details (you can send it in mail, if it can’t be published here…)

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: XML addon & script location #3669

    Gergely Fehér
    Keymaster

    Hi,

    Parameter changes from interactive schedule will initiate a paramscript run in the selected object(s).

    The best way of reading an xml file depends on many things:
    – how often the source will change,
    – will it be a part of the library, and loaded together with the objects,
    – and the purpose of using external data…

    You should tell me more about the details, to be able to suggest a solution.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: Calling interface macro #3612

    Gergely Fehér
    Keymaster

    If you call a macro from master for the 2D and 3D, you should put it in a condition: “if GLOB_SCRIPT_TYPE = 2 or GLOB_SCRIPT_TYPE = 3 then” – in this case, it won’t ruin your paramscript or interface script.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: Railing post hotspots #3672

    Gergely Fehér
    Keymaster

    Maybe. But not in the near future…

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

  • in reply to: ac_​drawingName #3636

    Gergely Fehér
    Keymaster

    Please use the RSS instead of the mails.
    You can read more here.

    Gergely Fehér
    Team Leader, Library Team
    GRAPHISOFT SE

Viewing 15 posts - 31 through 45 (of 248 total)