Deprecated Global Variables

These globals are still working in ‘s environment for compatibility reasons, but we recommend avoiding them during new object creation.

GLOB_CONTEXT

Due to compatibility issues with new requirements, GLOB_CONTEXT became deprecated in ARCHICAD 19. Instead of this global variable, please use GLOB_VIEW_TYPE combined with GLOB_PREVIEW_MODE, GLOB_FEEDBACK_MODE and GLOB_SEO_TOOL_MODE.

GLOB_CONTEXT context of appearance (view dependent, do not use in parameter script)
2D GDL_CheckIcon 3D GDL_CheckIcon UI GDL_ErrorIcon Parameter GDL_ErrorIcon Property GDL_ErrorIcon Default 2
1 – library part editor, 2 – floor plan, 3 – 3D view, 4 – section/elevation,
5 – settings dialog, 6 – list, 7 – detail drawing, 8 – layout,
22 – editing feedback mode from the floor plan, 23 – editing feedback mode from a 3D view,
24 – editing feedback mode from a section/elevation, 28 – editing feedback mode from a layout,
43 – generating as an operator from a 3D view, 44 – generating as an operator from a section/elevation, 46 – generating as an operator from a list.
See the section called “GDL execution contexts” for more details.

Deprecated Beam/Column Global Variables – available for listing and labels only

From ARCHICAD 23 these values are available in BEAM_SEGMENT_INFO and COLU_SEGMENT_INFO global variables with uniformized value references. See also Deprecated Beam Column Parameters section. For compatibility, they are still available on homogeneous, straight or horizontally curved Beams and on homogeneous Columns (GLOB_ELEM_TYPE = 12 or 6).

COLU_CROSSSECTION_TYPE cross-section type of the column
0 – complex profiled, 1 – rectangular, 4 – round
GDL_ErrorIcon Column Segment (27) GDL_CheckIcon Single-segment Column (6) GDL_ErrorIcon Multi-segment Column (6)

BEAM_CROSSSECTION_TYPEcross-section type of the beam

0 – complex profiled, 1 – rectangular
GDL_ErrorIcon Beam Segment (28) GDL_CheckIcon Single-segment Beam (12) GDL_ErrorIcon Multi-segment Beam (12)

Deprecated Label Global Variables

These globals have been replaced by fix named optional parameters starting from ARCHICAD 22 (see section).
For compatibility reasons, the global variables are still maintained, so legacy object behaviour should not be affected.

Label text handling group of globals:

LABEL_ALWAYS_READABLE label text is always readable
1 if Always Readable is checked, 0 otherwise
LABEL_TEXT_WRAP wrap label text
1 if Wrap Text is checked, 0 otherwise
LABEL_TEXT_ALIGN text alignment
1 – left aligned, 2 – center aligned, 3 – right aligned, 4 – full justified
LABEL_TEXT_LEADING line spacing factor
LABEL_TEXT_WIDTH_FACT width factor
LABEL_TEXT_CHARSPACE_FACT spacing factor
LABEL_FONT_NAME font name
LABEL_TEXT_SIZE text size
LABEL_TEXT_PEN pen of the text
LABEL_TEXT_BG_PEN text box background pen
0 if opaque is off, the background pen otherwise
LABEL_FONT_STYLE font style
0-normal, 1-bold, 2-italic, 4- underline
LABEL_FONT_STYLE2 font style in the settings dialog box
0 – normal, otherwise j1 + 2*j2 + 4*j3 + 32*j6 + 64*j7 + 128*j8, j1 – bold, j2 – italic, j3 – underline, j6 – superscript,
j7 – subscript, j8 – strikethrough

Label pointer/frame handling group of globals:

LABEL_CUSTOM_ARROW use symbol arrow option on/off
0 if the Use symbol arrow checkbox is checked, 1 otherwise
LABEL_ARROW_LINETYPE line type of the line of the arrow
LABEL_ARROW_PEN pen of the arrow
LABEL_FRAME_ON label frame on/off
1 if the label frame is checked, 0 otherwise
LABEL_FRAME_OFFSET frame offset
LABEL_ANCHOR_POS label anchor position
0 – middle, 1 – top, 2 – bottom left, 3 – bottom right

Deprecated Curtain Wall Global Variables – available for listing and labels only

From ARCHICAD 22 user-defined curtain wall frame and panel classes has been introduced instead of the predefined classes.
For compatibility reasons these global variables are still maintained, but their values have changed.

CWFRAME_CLASS class of the frame
2 – boundary, 3 – other
Compatibility: up to ARCHICAD 21 the values can be 0 – mullion, 1 – transom, 2 – boundary, 3 – custom.
CWPANEL_CLASS class of the panel
0
Compatibility: up to ARCHICAD 21 the values can be 0 – main, 1 – distinct, 2 – custom.
CWPANEL_TYPE type of the panel
The name of the GDL object
Compatibility: up to ARCHICAD 21 the values can be “Generic” or the name of the GDL object.

From ARCHICAD 22 curtain wall frame and panel objects’ surfaces can’t be overridden. They are completely defined by the GDL object, and
should be accessed for listing as parameters. For compatibility reasons these global variables still exist, but contain invalid data.

CWFRAME_MAT surface attribute index of the frame
CWFRAME_MAT_OUTER surface attribute index for the exterior surface of the panel
CWPANEL_MAT_INNER surface attribute index for the interior surface of the panel
CWPANEL_MAT_CUT surface attribute index for the edge of the panel

Old global variable names

Old global variable names can be used; however, the use of the new names is recommended.
Each old global corresponds to a new variable with a long name.

Old name New name
A_ GLOB_SCALE
B_ GLOB_HSTORY_ELEV
C_ WALL_THICKNESS
D_ WALL_HEIGHT
E_ WALL_SECT_PEN
F_ WALL_FILL_PEN
G_ WALL_MAT_A
H_ WALL_MAT_B
I_ WALL_MAT_EDGE
J_ GLOB_ELEVATION
K_ WIDO_SILL
L_ SYMB_VIEW_PEN
M_ SYMB_MAT
N_ GLOB_FRAME_NR
O_ GLOB_FIRST_FRAME
P_ GLOB_LAST_FRAME
Q_ GLOB_HSTORY_HEIGHT
R_ WIDO_ORIG_DIST
S_ GLOB_USER_1
T_ GLOB_USER_2
U_ GLOB_USER_3
V_ GLOB_USER_4
W_ GLOB_USER_5
X_ GLOB_USER_6
Y_ GLOB_USER_7
Z_ GLOB_USER_8
A~ WALL_FILL
B~ WIDO_RIGHT_JAMB
C~ WIDO_THRES_DEPTH
D~ WIDO_HEAD_DEPTH
E~ WIDO_REVEAL_SIDE
F~ WIDO_FRAME_THICKNESS
G~ GLOB_USER_9
H~ WIDO_POSITION
I~ GLOB_USER_10
J~ WALL_RESOL
K~ GLOB_EYEPOS_X
L~ GLOB_EYEPOS_Y
M~ GLOB_EYEPOS_Z
N~ GLOB_TARGPOS_X
O~ GLOB_TARGPOS_Y
P~ GLOB_TARGPOS_Z
Q~ GLOB_CSTORY_ELEV
R~ GLOB_CSTORY_HEIGHT
S~ GLOB_CH_STORY_DIST
T~ GLOB_SCRIPT_TYPE
U~ GLOB_NORTH_DIR
V~ SYMB_MIRRORED
W~ SYMB_ROTANGLE
X~ SYMB_POS_X
Y~ SYMB_POS_Y
Z~ SYMB_POS_Z

Free users’ globals

GLOB_USER_1
GLOB_USER_2
GLOB_USER_3
GLOB_USER_4
GLOB_USER_5
GLOB_USER_6
GLOB_USER_7
GLOB_USER_8
GLOB_USER_9
GLOB_USER_10 free variables 1 to 10 are initialized to number by default
GLOB_USER_11
GLOB_USER_12
GLOB_USER_13
GLOB_USER_14
GLOB_USER_15
GLOB_USER_16
GLOB_USER_17
GLOB_USER_18
GLOB_USER_19
GLOB_USER_20 free variables 11 to 20 are initialized to string by default