cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The 2025 Technology Preview Program is now live. Join today!

GDL
About building parametric objects with GDL.

Edit Door casing design

Ahmed_K
Mentor

Hi, 

a simple task : i want to edit the casing design like shown in the screenshot, can someone help me how to achieve this ? 

Thanks.

Ahmed_K_0-1755163855754.png

 

 

By the way, after the shift for the global libraries, i think it's time to think about the library creation , custom components for doors and windows, etc, 

in my case, it can be done just bu designing the case and save it as parts : side casing and top casing, and apply that on the  door casing, but, no, you should learn GDL my friend 🙂

AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
5 REPLIES 5
Laszlo Nagy
Community Admin
Community Admin

Which Door is this?

Is this a simple Door where you just specified a large value for the width of the Upper Frame of the Door? 

 

I checked this in Ac28. Here is what happens:

The Master Script of Doors usually call the marco called 

gs_general_lt_door_macro
The 3D Script of gs_general_lt_door_macro calls another macro called
GeneralDoorUnit
The 3D Script of GeneralDoorUnit calls the macro called
DoorFrame
And the 3D Script of DoorFrame generates the frame of the Door.
 
That is as far as I got. I think you would have to find that lines in the Script that generate the various (left, upper, right) portions of the Door Frame and modify those so the left/right frame go up the whole height of the Door, and the upper frame is generated between the left and right frames. 
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-Ac28
Ahmed_K
Mentor

this is a sliding door from the archicad library (FR) , but the logic is the same for all languages i guess, 

 

yes i set a large value for the upper casing , not the frame, only that horizontal junction type is available, i can't set it to vertical

AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
Laszlo Nagy
Community Admin
Community Admin

 

This is why I am saying that you would need to delve into the GDL code of the 3D Script and find where it generates the frames that way. Then you can modify to GDL code to create the vertical junction type you need.

That is, if you have the GDL skills and the patience. 😉

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-Ac28
Ahmed_K
Mentor

Gdl skills , No

Patience: Yes, as long as it produces worthwhile results compared to effort 😅

 

i think I'll go with a workaround since it's a modelling for rendering purposes , i model the casing separately, and place it just in place aligned to the door

AMD Ryzen 9 3900X, 32 GB RAM, RTX 3080 10 GB
Archicad 27
Windows 11 professional
https://www.behance.net/Nuance-Architects
Lingwisyer
Guru

It would be nice if all doors and windows had a junction setting for the corners of each part...

Lingwisyer_0-1755568033466.png

I added it to one of my own custom windows, though it does require a decent number of extra lines....

 

Ling.

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660