Graphisoft®

Basic Library Version: 16

New GDL Features in ArchiCAD 15

Index

  1. Purpose of the document
  2. List of new features
    1. New/changed global variables
    2. New commands
  3. Changes in the interpretation of GDL

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.

Skylight markers

These new globals can be used in markers for the new skylight tool.

Shell Base markers

These new globals can be used in markers for new roof and shell elements.

New commands

Element migration

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

Example:

group "a" sphere 1 endgroup placegroup creategroupwithmaterial ("a", 2, 0, ind (MATERIAL, "Brick-White"))

New shell based modelling

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.