Graphisoft®

Basic Library Version: 16

New GDL Features in ArchiCAD 12

Index

  1. Purpose of the document
  2. List of new features
    1. hotline and hotarc commands
    2. User Interface enhancments
    3. Fill enhancements
    4. New/changed global variables
    5. New interface for deterministic addons

1. Purpose of the document

This document informs you about the new GDL features in ArchiCAD 12. 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

hotline and hotarc commands

These two commands generate line and arc status in the 3D model. These line can be clicked and can be used for alignment in 3D.

User Interface enhancments

The User Interface scripting capabilities of Library Parts were enhanced.

ui_pict_button
button with picture
ui_infield{3} method 5
pushbutton/checkfield with text
ui_infield{3} method 6
pushbutton/checkfield with picture
ui_infield{3} method 7
checkbox with clickable text

Fill enhancements

define LINEAR_GRADIENT_FILL, define RADIAL_GRADIENT_FILL
define linear and radial gradient fills
define TRANSLUCENT_FILL
define fills, which mix the foreground and the background colors in the given percentage
define IMAGE_FILL
define fills, which create a fill by using an image as a pattern
poly2_b{4} method 7
2D polygon which provides full parametrization of gradient fills; this means a parameter for the inner radius for radial gradients
REQUEST ("class_of_fill", index, class)
Request fill class

New/changed global variables

Partial Structure Display

Curtain Wall elements

Following global variables ara available for listing and labels only.

New interface for deterministic addons

GDL opened a new interface for the GDX add-ons with deterministic result. For such add-ons their developer states that the add-on always returns the same value for the same input parameters - the result is independent from the time or external data sources (f.ex. files). Such add-ons calls can be handled in a much more efficient way.

initaddonscope
Opening the connection to the add-on.
preparefunction
Preparing a function by passing parameters.
callfunction
Executing a function and get the results.
closeaddonscope
Closing a connection to the add-on.