The general workflow is the same, storing/reading can be simplified with these functions: Polygons/polylines can be given as a dictionary when communicating with the PolyOperations add-on.
requests using dict data type: "Component_Ids_Of_Parent", "Component_Property_Values_Of_Parent", "Property_Values_Of_Parent".
globals using dict data type: OPENING_SYMBOL_GEOMETRY, OPENING_HEADERHEIGHT_VALUES, OPENING_CENTERHEIGHT_VALUES, OPENING_SILLHEIGHT_VALUES.
new functions: HASKEY, REMOVEKEY, PolyOperations functions.
general syntax: Structured types section of the manual, DICT keyword.
reduces the number of parameters needed for data exchange between objects and macros.
reduces the number of variables needed for data exchange between AC and GDL objects (global variables and requests).
can be used when more-than-two dimensional arrays would be needed.
ARCHICAD 23 CODE
allows more readable and easier-to-maintain code.
Dictionary data type – declared with the keyword DICT – is a hierarchical collection of key-value pairs, where values can be other dictionaries or arrays too. It is now possible to organize variables and parameters in a structured way, similar to many other languages. This section contains a fly-through of the new GDL features in ARCHICAD 23.