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.

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