2020-10-2703:58 AM - last edited on 2021-09-1512:32 AM by Noemi Balogh
Hi, how do I read the value of a associated library part's Fixed Named Optional Parameter in a label? I tried REQUEST ("Property_Value_Of_Parent" and REQUEST ("ASSOCLP_PARVALUE", but none of these seem to work. Generally speaking, I can sucessfuly read and label any parameter value of an archicad object, but I struggle with archicad elements like walls, slabs, beams etc.
Only GDL objects have Fixed Named Optional Parameters.
From other elements generally only their properties are accessible to GDL. There are a few exceptions where information is available in global variables, these are marked with "available for listing and labels" in the manual, for example http://gdl.graphisoft.com/reference-guide/opening-parameters
Software Engineer, Library as a Platform
GRAPHISOFT SE, Budapest
Thanks for the answer. Just to be sure that I understand it correctly, the parameters listed here: http://gdl.graphisoft.com/reference-guide/parameters-for-column-beam-and-roof-attributes
are only available for elements created by gdl script, but not for the elements created inside Archicad?
Does this mean, that even those "parameters" accessible with autotexts are not all available for calculations within a label? (like for example "ac_beam_inclination" - I can label it with an autotext, but I cannot use it to decide an if..then problem?)
I am trying to build a label replicating the elevation dimension function, but with the option to show not only the elevation of the top surface, but rather the elevation of the bottom surface as well. I was hoping to be able to extract the Roof/Beam position, rotation and slope and use it to calculate the elevation based on the label position (same as the elevation dimension shows the z value dependent on its xy position on a roof or a mesh for example). Is this simply not possible with GDL?