New GDL Features in ArchiCAD 9
This document informs you about the new GDL features in ArchiCAD 9.
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.
Rich Text related
- DEFINE STYLE{2}
- PARAGRAPH
- TEXTBLOCK
- RICHTEXT
- RICHTEXT2
- REQUEST ("TEXTBLOCK_INFO", textblock_name, width, height)
New Fill Attributes
- DEFINE FILL name [FILLTYPES_MASK fill_types,] pattern1, pattern2, pattern3,...
- DEFINE FILLA name [FILLTYPES_MASK fill_types,] pattern1, pattern2, pattern3,...
- DEFINE SYMBOL_FILL name [FILLTYPES_MASK fill_types,] pat1, pat2, pat3, pat4,...
- DEFINE SOLID_FILL name [FILLTYPES_MASK fill_types]
- DEFINE EMPTY_FILL name [FILLTYPES_MASK fill_types]
- VALUES "fillparam_name" [FILLTYPES_MASK fill_types,] value_definition1 [, value_definition2, ...]
Line property and fill property
- POLY2_, POLY2_A, POLY2_B, POLY2_B{2} - new frame_fill bits and status bits
- LINE_PROPERTY expr - effective for RECT2, LINE2, ARC2, CIRCLE2, SPLINE2, SPLINE2A, POLY2, FRAGMENT2
Status lines in 2D
- HOTLINE2 x1, y1, x2, y2
- HOTARC2 x, y, r, startangle, endangle
Advanced material definition
- DEFINE MATERIAL name BASED_ON orig_name PARAMETERS name1 = expr1 [, ...][ADDITIONAL_DATA name1 = expr1 [, ...]]
- DEFINE MATERIAL name PARAMETERS name1 = expr1 [, ...][ADDITIONAL_DATA name1 = expr1 [, ...]]
- REQUEST{2} ("Material_info", name_or_index, param_name, value_or_values)
- REQUEST{2} ("Material_info", name_or_index, extra_param_name, value_or_values)
Advanced light source definition
- LIGHT red, green, blue, shadow, radius, alpha, beta, angle_falloff, distance1, distance2, distance_falloff [ADDITIONAL_DATA name1 = value1, name2 = value2, ...]
New status codes
- for PRISM_ like commands to control edge visibility - line elimination
- for CUTSHAPE and WALLNICHE commands to control edge visibility on the top and on the bottom of the cutting body
Functions
- ROUND_INT (x)
- New flag value ('~') for the STR function to hide 0 decimals
- New flag value ('^') for the STR function to leave decimal separator and digit grouping characters unchanged
- FILE_DEPENDENCE "name1" [, "name2", ...]
New Globals
- GLOB_WORLD_ORIGO_OFFSET_X
- GLOB_WORLD_ORIGO_OFFSET_Y
- COLU_CORE_TOP_SURF
- COLU_CORE_BOT_SURF
- COLU_VENEER_TOP_SURF
- COLU_VENEER_BOT_SURF
- COLU_CORE_GROSS_TOPBOT_SURF
- COLU_VENEER_GROSS_TOPBOT_SURF
- LABEL_ROTANGLE
- LABEL_TEXT_ALIGN
- LABEL_TEXT_LEADING
- LABEL_TEXT_WIDTH_FACT
- LABEL_CHARSPACE_FACT
|