Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Masterscript is not affecting "wall opening oversizing.

jshuether
Enthusiast
I have a custom door that I’ve created. Variables include:

SHOW_FRAME: show door frame
TF_W: top frame width
LF_W: left frame width
RF_W: right frame width
gs_upper_oversize: upper oversize
gs_left_oversize: left oversize
gs_right_oversize: right oversize

In the “Details…” of the object under wall opening oversizing:

Y+ = gs_upper_oversize+TF_W
X+ = gs_right_oversize + RF_W
X- = gs_left_oversize + LF_W

In the master script:

IF SHOW_FRAME=0 THEN
TF_W= 0
LF_W= 0
RF_W= 0
ENDIF

The problem is, when the SHOW_FRAME variable is off, the 2D door symbol in plan still shows the wall opening oversize including the width of the frame, regardless of the fact that the masterscript makes all these variables zero. To get the symbol to show correctly, I have to change TF_W, etc. to “0” in the object settings dialog box which defeats the purpose of the quick boolean checkbox.

Is this a bug or a known issue? Is there another way to script what I am trying to accomplish?
ArchiCAD 25

Windows 10
2 REPLIES 2
Frank Beister
Moderator
In case SHOW_FRAME is a checkbox:

In the “Details…” of the object under wall opening oversizing:

Y+ = gs_upper_oversize+TF_W*SHOW_FRAME
X+ = gs_right_oversize + RF_W*SHOW_FRAME
X- = gs_left_oversize + LF_W *SHOW_FRAME


The opening into the wall is cut before any script of the window is started. AC takes the values of the parameter list for the calculation of the oversize fields, not the result of them at the end of scripot run.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
jshuether
Enthusiast
Vielen Dank, Herr Beister!
ArchiCAD 25

Windows 10