New GDL Features in ArchiCAD 15
Index
1. Purpose of the document
This document informs you about the new GDL features in ArchiCAD 15. You can find the definition of the new and changed commands in the GDL Reference Guide. Some of these topics are described in the Basic Library Documentation, too. The links in this document refer to the latter one, if available.
2. List of new features
New/changed global variables
Element migration
These new globals tell the GUID of the source or the target element of the migration, according to the direction of migration.
- FROM_GUID
- TO_GUID
Skylight markers
These new globals can be used in markers for the new skylight tool.
- SKYL_MARKER_TXT
- SKYL_ROTANGLE
- SKYL_OPENING_SURF
- SKYL_OPENING_VOLUME
- SKYL_OPENING_HEIGHT
- SKYL_OPENING_WIDTH
- SKYL_HEADER_HEIGHT
- SKYL_SILL_HEIGHT
Shell Base markers
These new globals can be used in markers for new roof and shell elements.
- SHELLBASE_THICKNESS
- SHELLBASE_MAT_REFERENCE
- SHELLBASE_MAT_EDGE
- SHELLBASE_MAT_OPPOSITE
- SHELLBASE_LINETYPE
- SHELLBASE_FILL
- SHELLBASE_FILL_PEN
- SHELLBASE_FBGD_PEN
- SHELLBASE_COMPS_NAME
- SHELLBASE_SKINS_NUMBER
- SHELLBASE_SKINS_PARAMS
- SHELLBASE_SECT_PEN
- SHELLBASE_VIEW_PEN
- SHELLBASE_REFERENCE_SURF
- SHELLBASE_COND_REFERENCE_SURF
- SHELLBASE_GROSS_REFERENCE_SURF
- SHELLBASE_OPPOSITE_SURF
- SHELLBASE_COND_OPPOSITE_SURF
- SHELLBASE_GROSS_OPPOSITE_SURF
- SHELLBASE_EDGE_SURF
- SHELLBASE_GROSS_EDGE_SURF
- SHELLBASE_PERIMETER
- SHELLBASE_VOLUME
- SHELLBASE_COND_VOLUME
- SHELLBASE_GROSS_VOLUME
- SHELLBASE_HOLES_NR
- SHELLBASE_HOLES_SURF
- SHELLBASE_HOLES_PRM
- SHELLBASE_OPENINGS_NR
- SHELLBASE_OPENINGS_SURF
- SHELLBASE_INSU_THICKNESS
- SHELLBASE_RIDGE
- SHELLBASE_VALLEY
- SHELLBASE_GABLE
- SHELLBASE_HIP
- SHELLBASE_EAVES
- SHELLBASE_PEAK
- SHELLBASE_SIDE_WALL
- SHELLBASE_END_WALL
- SHELLBASE_TRANSITION_DOME
- SHELLBASE_TRANSITION_HOLLOW
New commands
Element migration
- NEWPARAMETER
- SETMIGRATIONGUID
- DELETED_PAR_VALUE
- MIGRATIONWARNING
CREATEGROUPWITHMATERIAL
CREATEGROUPWITHMATERIAL (g_expr, repl_directive, pen, material)
Returns a group that is created by replacing all pens and/or materials in group g_expr.
repl_directive: i1 + 2 * i2
- i1: replace pen
- i2: replace material
Example:
group "a" sphere 1 endgroup placegroup creategroupwithmaterial ("a", 2, 0, ind (MATERIAL, "Brick-White"))
New shell based modelling
- POLYROOF
- EXTRUDEDSHELL
- REVOLVEDSHELL
- REVOLVEDSHELLANGULAR
- RULEDSHELL
3. Changes in the interpretation of GDL
From ArchiCAD 15 on, calling a missing macro will trigger an error in the interpretation. This makes the outcome of the scripts more reliable and makes the testing and assembling of correct libraries easier.