BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.

Extend a Zone into Door opening

Aussie John
Newcomer
Somewhere between my version jump from v12 to v22 zones stopped extending into a door opening. Any suggestion to fix this or is a GDL object code line needed?
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
19 REPLIES 19
Aussie John
Newcomer
Interesting Barry
I too have used custom doors (see screen shot) and they follow frame depth but not the reveal depth. The GS doorframe (red) reacts to the zone with frame depth AND the setback.

Something very odd and again I call a bug.
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
Yves
Advocate
Hello,
These parameters are well adjusted ?
Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13
Laszlo Nagy
Community Admin
Community Admin
The parameters Yves is referring to can be accessed by opening the Door element for editing in the GDL Editor.
Then on the "Details" page click the "Compatibility Options" button, and you will find the "Nominal Frame Thickness" and "Parapet Wall Inset" parameters at the top.

I tested this a little bit and found that it is possible to modify the two fields, then save the Door, and update Zones, the Zone polygon will indeed extend into the Door and the Zone polygons on the two sides of the Door will join (be adjacent).

In the default "Door 24" Door element, the two fields look like this:
"Nominal Frame Thickness":
gs_fthk

"Parapet Wall Inset":
(pwi=0)*(-1) + (pwi=1)*0 + (pwi=2)*WIDO_SILL + (pwi=3)*(WALL_THICKNESS - gs_fthk - WIDO_SILL)

As you can see, the gs_fthk parameter, which stores the frame thickness value of the Door, appears in both formulas.

So we need to modify the two fields to remove this parameter, as follows:

"Nominal Frame Thickness":
0

"Parapet Wall Inset":
(pwi=0)*(-1) + (pwi=1)*0 + (pwi=2)*WIDO_SILL + (pwi=3)*(WALL_THICKNESS - WIDO_SILL)

With these modifications, the Zone polygons join properly. The Door on the left is the Door I modified, the Door on the right is the default GS Door.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Barry Kelly
Moderator
Just be careful with the nominal frame thickness.
It is a long time since I have played with it but I believe it affects the position of the door when you 'Flip' it.
Having it set to the frame thickness, the door frame will stay in position when you flip it, Set it to 0 and you may find the door frame flips about the reveal offset position (i.e. the front side of the frame).

Just tested it with a saved an modified copy of my door and this is what happens.


I have never dealt with the parapet wall offset so I am not sure what that will affect.


Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Yves
Advocate
Barry wrote:
Just be careful with the nominal frame thickness.
Effectively

WIDO_FRAME_THICKNESS frame thickness of window/door
when flipping doors/windows, they will be mirrored then relocated automatically by this value
Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13
Laszlo Nagy
Community Admin
Community Admin
Does this happen with you custom Doors?
Because I checked AC24 and it does not happen either with the default Doors or the Doors with the modifications detailed above.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Barry Kelly
Moderator
LaszloNagy wrote:
Does this happen with you custom Doors?

Yes that image was my custom door.
But I also just tried with the standards GS 'door 23'.
Saved it as a new object with the nominated frame thickness set as 'gs_frame_thk'.
Then saved as again with the nominated frame thickness set to zero.
The frame is in a different position and now jumps when the door is flipped.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Laszlo Nagy
Community Admin
Community Admin
Barry,

You have to change the definition of both the "Nominal Frame Thickness" and the "Parapet Wall Inset" parameters. If you set only the first, the above issue will occur.
I know because I did the same.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Barry Kelly
Moderator
Strange I am still getting the same result.

The original parapet wall inset formula is ... (pwi=0)*(-1) + (pwi=1)*0 + (pwi=2)*WIDO_SILL + (pwi=3)*(WALL_THICKNESS - gs_frame_thk - WIDO_SILL)

Whether I change it to ...(pwi=0)*(-1) + (pwi=1)*0 + (pwi=2)*WIDO_SILL + (pwi=3)*(WALL_THICKNESS - 0 - WIDO_SILL)
or just ... 0
seems to make no difference for me.

I am not sure why this formula is there as that 'pwi' parameter has a value of '2' and is hidden from the user - so can't be changed diirectly by the user.
So unless it is set somewhere in the parameter or master scripts, the formula could just be written as 'WIDO_SILL' (as that is the only part of the statement that is true with the default pwi value).
I am sure it is set somewhere in the parameter or master scripts based on other values, but trying to track it down in a GS object is a bit of a challenge.

When I get some time I might try to look into it.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Peter Baksa
Graphisoft
Graphisoft
Hi,

http://gdl.graphisoft.com/gdl-basics/simple-doors-and-windows says that flipping moves the object by the nominal frame thickness, but it can be modeled/drawn differently based on WIDO_REVEAL_SIDE.

http://gdl.graphisoft.com/tips-and-tricks/linking-openings-to-zone might help John's reveal problem.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
Learn and get certified!